summaryrefslogtreecommitdiff
path: root/test/TEST-07-ISSUE-1981/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-07-ISSUE-1981/test.sh')
-rwxr-xr-xtest/TEST-07-ISSUE-1981/test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/TEST-07-ISSUE-1981/test.sh b/test/TEST-07-ISSUE-1981/test.sh
index d97c4ec27d..2f7f01058e 100755
--- a/test/TEST-07-ISSUE-1981/test.sh
+++ b/test/TEST-07-ISSUE-1981/test.sh
@@ -5,11 +5,11 @@ TEST_DESCRIPTION="https://github.com/systemd/systemd/issues/1981"
. $TEST_BASE_DIR/test-functions
+NSPAWN_TIMEOUT=30s
+
test_run() {
dwarn "skipping QEMU"
- if check_nspawn; then
- NSPAWN_TIMEOUT=30s
- run_nspawn
+ if run_nspawn; then
check_result_nspawn || return 1
else
dwarn "can't run systemd-nspawn, skipping"