summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-09-24 21:30:55 +0000
committerRichard Maw <richard.maw@gmail.com>2014-10-01 09:32:55 +0000
commit01ae89708994a7b3baa59683d2e264b5c6e3bd42 (patch)
tree13dc4ca8fc1ff391702184151d1e846011e7f530 /check
parentbb43c48bd3ee9e18ce07d1a9b0649afe1676a3c1 (diff)
downloadmorph-01ae89708994a7b3baa59683d2e264b5c6e3bd42.tar.gz
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.
Diffstat (limited to 'check')
-rwxr-xr-xcheck16
1 files changed, 0 insertions, 16 deletions
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