projects
/
platform
/
upstream
/
systemd.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
ca8a5ee
..
22517a8
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
}