diff --git a/t/test-lib.sh b/t/test-lib.sh index 1db693d3d7..2dbd4fad06 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1917,6 +1917,10 @@ test_lazy_prereq UNZIP ' test $? -ne 127 ' +test_lazy_prereq BUSYBOX ' + case "$($SHELL --help 2>&1)" in *BusyBox*) true;; *) false;; esac +' + run_with_limited_cmdline () { (ulimit -s 128 && "$@") }