From: Jonathan Lebon Date: Tue, 27 Jun 2017 21:25:56 +0000 (-0700) Subject: test-switchroot.sh: skip if no busybox X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~35^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=79f285d188eef288cecb35ed7977bf6e219cc396;p=ostree.git test-switchroot.sh: skip if no busybox Closes: #968 Approved by: cgwalters --- diff --git a/tests/test-switchroot.sh b/tests/test-switchroot.sh index fd5a30d0..bc3ec38b 100755 --- 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