@matheusbsbs / matheus-bagliano / commits / 7e36de5859
Fork 0

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>

Ævar Arnfjörð Bjarmason committed Aug 17, 2010 at 09:24 UTC 7e36de5859afd77976b7583b2012c238b1ffbb7c
1 file changed +1 -1
t/t7008-grep-binary.sh
+1 -1
@@ -61,7 +61,7 @@ test_expect_success 'git grep -Fi iLE a' '
61
62 # This test actually passes on platforms where regexec() supports the
63 # flag REG_STARTEND.
64 -test_expect_failure 'git grep ile a' '
64 +test_expect_success 'git grep ile a' '
65 git grep ile a
66 '
67