summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-functions4
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 ]]
}