test-switchroot.sh: skip if no busybox
Closes: #968 Approved by: cgwalters
This commit is contained in:
parent
48e49df7f7
commit
79f285d188
|
|
@ -127,6 +127,8 @@ if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
|
||||||
. $(dirname $0)/libtest.sh
|
. $(dirname $0)/libtest.sh
|
||||||
unshare -m true || \
|
unshare -m true || \
|
||||||
skip "this test needs to set up mount namespaces, rerun as root"
|
skip "this test needs to set up mount namespaces, rerun as root"
|
||||||
|
[ -f /bin/busybox ] || \
|
||||||
|
skip "this test needs busybox"
|
||||||
|
|
||||||
echo "1..3"
|
echo "1..3"
|
||||||
test_that_prepare_root_sets_sysroot_up_correctly_with_initrd
|
test_that_prepare_root_sets_sysroot_up_correctly_with_initrd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue