summaryrefslogtreecommitdiff
path: root/tests/surrogate-pair
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-11-23 18:28:10 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2021-11-23 18:32:36 -0800
commit4396e12b8ca7046526d3cfd0dc433de5695b112e (patch)
treec49dc7d7f4e4f1844a96981c769fb2dc84317d09 /tests/surrogate-pair
parent4406a0d28f3689fc79778e06c2f6c11be7f3cb92 (diff)
downloadgrep-4396e12b8ca7046526d3cfd0dc433de5695b112e.tar.gz
tests: skip surrogate-search test on Cygwin
Cygwin does not support surrogate-pair search strings, so skip the test there (Bug#27555). * tests/Makefile.am (TESTS): Add surrogate-search. * tests/surrogate-pair: Remove surrogate-search test, which is now done by surrogate-search. * tests/surrogate-search: New test, which is skipped on Cygwin.
Diffstat (limited to 'tests/surrogate-pair')
-rwxr-xr-xtests/surrogate-pair6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/surrogate-pair b/tests/surrogate-pair
index a91fa36b..c1cbabaf 100755
--- a/tests/surrogate-pair
+++ b/tests/surrogate-pair
@@ -51,10 +51,4 @@ case $io_pair in
*) fail_ "unexpected output: $io_pair"; fail=1;;
esac
-# Also test whether a surrogate-pair in the search string works.
-for opt in '' -i -E -F -iE -iF; do
- grep --file=in $opt in > out 2>&1 || fail=1
- compare out in || fail=1
-done
-
Exit $fail