Skip to content

Commit

Permalink
t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTEND
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ævar Arnfjörð Bjarmason authored and Junio C Hamano committed Aug 19, 2010
1 parent 178b331 commit 7e36de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t7008-grep-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test_expect_success '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' '
test_expect_success 'git grep ile a' '
git grep ile a
'

Expand Down

0 comments on commit 7e36de5

Please sign in to comment.