chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9890f4
)
test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemd
author
Harald Hoyer
<harald@redhat.com>
Thu, 24 May 2012 14:00:33 +0000
(16:00 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 24 May 2012 14:02:06 +0000
(16:02 +0200)
test/TEST-01-BASIC/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-01-BASIC/test.sh
b/test/TEST-01-BASIC/test.sh
index ca8a5ee87202bc057c72684c8f5ec17680f4f52b..22517a831efb4ab738b11e297c7d999df9744226 100755
(executable)
--- 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
}