Skip to content

Commit 7e36de5

Browse files
avargitster
authored andcommitted
t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTEND
Now that we have a regex engine that supports REG_STARTEND this test should fail if "git grep" can't grep NULL characters. Platforms that don't have a POSIX regex engine which supports REG_STARTEND should always define NO_REGEX=YesPlease when compiling. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 178b331 commit 7e36de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7008-grep-binary.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ test_expect_success 'git grep -Fi iLE a' '
6161

6262
# This test actually passes on platforms where regexec() supports the
6363
# flag REG_STARTEND.
64-
test_expect_failure 'git grep ile a' '
64+
test_expect_success 'git grep ile a' '
6565
git grep ile a
6666
'
6767

0 commit comments

Comments
 (0)