From 01ae89708994a7b3baa59683d2e264b5c6e3bd42 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 24 Sep 2014 21:30:55 +0000 Subject: Remove remaining test.as-root cmdtests The repo-alias is indirectly tested by branch-from-image, and checking the --version is part of the release process, so we're not going to miss these tests. --- check | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'check') diff --git a/check b/check index a942ca90..dc4f96bc 100755 --- a/check +++ b/check @@ -162,19 +162,3 @@ elif ! (python --version 2>&1 | grep -q '^Python 2\.[78]'); then else cmdtest tests.build fi - -# The as-root tests use YAML morphologies, so they require the PyYAML module. -if ! "$run_slow_cmdtests"; then - echo "NOT RUNNING tests.as-root" -elif [ $(whoami) != root ] || ! command -v mkfs.btrfs > /dev/null; then - echo "NOT RUNNING tests.as-root (no btrfs)" -elif ! python -c " -import morphlib, sys -if not morphlib.got_yaml: - sys.exit(1) -" > /dev/null 2>&1 -then - echo "NOT RUNNING tests.as-root (requires PyYAML)" -else - cmdtest tests.as-root -fi -- cgit v1.2.1