summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-06-08 18:06:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-08 18:06:27 -0700
commitf4cec40dbdc262ca0d485068aa549958ea8946a0 (patch)
treea11cc0ece1686e7103d395c95898e07d9fef013b /t/test-lib.sh
parentMerge branch 'ds/line-log-on-bloom' (diff)
parentt4210: detect REG_ILLSEQ dynamically and skip affected tests (diff)
downloadtgif-f4cec40dbdc262ca0d485068aa549958ea8946a0.tar.xz
Merge branch 'cb/t4210-illseq-auto-detect'
As FreeBSD is not the only platform whose regexp library reports a REG_ILLSEQ error when fed invalid UTF-8, add logic to detect that automatically and skip the affected tests. * cb/t4210-illseq-auto-detect: t4210: detect REG_ILLSEQ dynamically and skip affected tests t/helper: teach test-regex to report pattern errors (like REG_ILLSEQ)
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 88bb797141..dbc027ff26 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1489,12 +1489,6 @@ 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