diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-24 16:23:39 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-24 16:23:39 +0200 |
commit | 7cad32bbdeed20ac0daf6049ab093db902f4a4e7 (patch) | |
tree | 44fffa4c1d97541b33463e6c27929860bd09ea94 /test/TEST-05-RLIMITS | |
parent | b2ecd099dc7371aafb988145ab40a631f7050d41 (diff) |
test: merge check_nspawn() into run_nspawn()
This makes nspawn tests symmetric with run_qemu() which also exits with 1 if
QEMU is not available.
Diffstat (limited to 'test/TEST-05-RLIMITS')
-rwxr-xr-x | test/TEST-05-RLIMITS/test.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/TEST-05-RLIMITS/test.sh b/test/TEST-05-RLIMITS/test.sh index 6eaa0b8f34..a5f7e8de0b 100755 --- a/test/TEST-05-RLIMITS/test.sh +++ b/test/TEST-05-RLIMITS/test.sh @@ -25,8 +25,7 @@ test_run() { else dwarn "can't run QEMU, skipping" fi - if check_nspawn; then - run_nspawn + if run_nspawn; then check_result_nspawn || return 1 else dwarn "can't run systemd-nspawn, skipping" |