diff options
Diffstat (limited to 'test/TEST-01-BASIC/test.sh')
-rwxr-xr-x | test/TEST-01-BASIC/test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index ca8a5ee872..22517a831e 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -43,7 +43,9 @@ run_nspawn() { test_run() { run_qemu || return 1 - run_nspawn || return 1 + if [[ -d /sys/fs/cgroup/systemd ]] + run_nspawn || return 1 + fi return 0 } |