Skip to content

Commit cd20ada

Browse files
dschoGit for Windows Build Agent
authored andcommitted
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 a0933a5 commit cd20ada

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/test-lib.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,6 +1864,10 @@ test_lazy_prereq UNZIP '
18641864
test $? -ne 127
18651865
'
18661866

1867+
test_lazy_prereq BUSYBOX '
1868+
case "$($SHELL --help 2>&1)" in *BusyBox*) true;; *) false;; esac
1869+
'
1870+
18671871
run_with_limited_cmdline () {
18681872
(ulimit -s 128 && "$@")
18691873
}

0 commit comments

Comments
 (0)