Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: use REG_STARTEND for all matching if available
[gitweb.git]
/
t
/
t7008-grep-binary.sh
diff --git
a/t/t7008-grep-binary.sh
b/t/t7008-grep-binary.sh
index 9660842c446f78b4b35fa9162235753a85eeee9f..4f5e74fed77a484c4c0b7bd9de7f0b95cf714a22 100755
(executable)
--- a/
t/t7008-grep-binary.sh
+++ b/
t/t7008-grep-binary.sh
@@
-59,4
+59,14
@@
test_expect_success 'git grep -Fi iLE a' '
git grep -Fi iLE a
'
+# This test actually passes on platforms where regexec() supports the
+# flag REG_STARTEND.
+test_expect_failure 'git grep ile a' '
+ git grep ile a
+'
+
+test_expect_failure 'git grep .fi a' '
+ git grep .fi a
+'
+
test_done