]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTEND
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 17 Aug 2010 09:24:41 +0000 (09:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Aug 2010 22:46:47 +0000 (15:46 -0700)
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>
t/t7008-grep-binary.sh

index eb8ca88cce59c234d8ee43cc94421024f6b1e0b5..c0f9f3f70568794222c50f43f1f09be3bda62bf9 100755 (executable)
@@ -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
 '