diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-09-24 21:30:55 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2014-10-01 09:32:55 +0000 |
commit | 01ae89708994a7b3baa59683d2e264b5c6e3bd42 (patch) | |
tree | 13dc4ca8fc1ff391702184151d1e846011e7f530 /check | |
parent | bb43c48bd3ee9e18ce07d1a9b0649afe1676a3c1 (diff) | |
download | morph-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-x | check | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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 |