mirror of
https://github.com/git-for-windows/git.git
synced 2026-02-04 03:33:01 -06:00
tests(mingw): if iconv is unavailable, use test-helper --iconv
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
bebfe01577
commit
fec18cfda9
@ -1682,6 +1682,12 @@ Darwin)
|
||||
test_set_prereq GREP_STRIPS_CR
|
||||
test_set_prereq WINDOWS
|
||||
GIT_TEST_CMP="GIT_DIR=/dev/null git diff --no-index --ignore-cr-at-eol --"
|
||||
if ! type iconv >/dev/null 2>&1
|
||||
then
|
||||
iconv () {
|
||||
test-tool iconv "$@"
|
||||
}
|
||||
fi
|
||||
;;
|
||||
*CYGWIN*)
|
||||
test_set_prereq POSIXPERM
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user