diff options
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions index 5d223dbc63..f8f89996b4 100644 --- a/test/test-functions +++ b/test/test-functions @@ -1131,7 +1131,9 @@ inst_libdir_file() { } check_nspawn() { - [[ -d /sys/fs/cgroup/systemd ]] + [[ -d /sys/fs/cgroup/systemd ]] && \ + [[ -d /run/systemd/system ]] && \ + [[ -e /lib/systemd/systemd-machined ]] } |