mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 05:35:21 +07:00
test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemd
This commit is contained in:
parent
d9890f4ed4
commit
7b17d413b1
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user