Skip to content

Commit 47190b9

Browse files
committed
test-lib: add BUSYBOX prerequisite
When running with BusyBox, we will want to avoid calling executables on the PATH that are implemented in BusyBox itself. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7a324cb commit 47190b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/test-lib.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1902,6 +1902,10 @@ test_lazy_prereq UNZIP '
19021902
test $? -ne 127
19031903
'
19041904

1905+
test_lazy_prereq BUSYBOX '
1906+
case "$($SHELL --help 2>&1)" in *BusyBox*) true;; *) false;; esac
1907+
'
1908+
19051909
run_with_limited_cmdline () {
19061910
(ulimit -s 128 && "$@")
19071911
}

0 commit comments

Comments
 (0)