projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e49df
)
test-switchroot.sh: skip if no busybox
author
Jonathan Lebon
<jlebon@redhat.com>
Tue, 27 Jun 2017 21:25:56 +0000
(14:25 -0700)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Tue, 27 Jun 2017 21:45:34 +0000
(21:45 +0000)
Closes: #968
Approved by: cgwalters
tests/test-switchroot.sh
patch
|
blob
|
history
diff --git
a/tests/test-switchroot.sh
b/tests/test-switchroot.sh
index fd5a30d05fc8da3d7f4e7e35893be8bced579f31..bc3ec38b5f5891f1447893b066da38d7fa335e64 100755
(executable)
--- a/
tests/test-switchroot.sh
+++ b/
tests/test-switchroot.sh
@@
-127,6
+127,8
@@
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
. $(dirname $0)/libtest.sh
unshare -m true || \
skip "this test needs to set up mount namespaces, rerun as root"
+ [ -f /bin/busybox ] || \
+ skip "this test needs busybox"
echo "1..3"
test_that_prepare_root_sets_sysroot_up_correctly_with_initrd