diff --git a/t/test-lib.sh b/t/test-lib.sh index 6db5df7af28820..5291075b9d3c79 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1888,6 +1888,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 && "$@") }