aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-10 13:11:45 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-10 13:11:45 -0800
commitb089e5e6cb30a40bd115c2b421552873ebd67c47 (patch)
treeb03ce8a2460ca161c79b193f50d7b261f4405f07 /t/test-lib.sh
parent930078ba3995216193a18cf67ddfdc198e892fd5 (diff)
parent7187c7bbb8184ec52726acdbe0eb2ddc98a4fb7e (diff)
downloadgit-b089e5e6cb30a40bd115c2b421552873ebd67c47.tar.gz
Merge branch 'em/test-skip-regex-illseq'
Test portability fix. * em/test-skip-regex-illseq: t4210: skip i18n tests that don't work on FreeBSD
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 5fbf4d25ed..44df51be8f 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1422,7 +1422,7 @@ else
'
fi
-# Fix some commands on Windows
+# Fix some commands on Windows, and other OS-specific things
uname_s=$(uname -s)
case $uname_s in
*MINGW*)
@@ -1453,6 +1453,12 @@ case $uname_s in
test_set_prereq SED_STRIPS_CR
test_set_prereq GREP_STRIPS_CR
;;
+FreeBSD)
+ test_set_prereq REGEX_ILLSEQ
+ test_set_prereq POSIXPERM
+ test_set_prereq BSLASHPSPEC
+ test_set_prereq EXECKEEPSPID
+ ;;
*)
test_set_prereq POSIXPERM
test_set_prereq BSLASHPSPEC