mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-06-16 02:35:58 +00:00
test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemd
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user