mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-16 11:02:37 -05:00
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 <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Matthew Cheetham
parent
1556e20de6
commit
759b32fd1e
@@ -1915,6 +1915,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 && "$@")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user