]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7812: add missing redirects
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 26 Nov 2019 21:50:51 +0000 (22:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Nov 2019 02:33:55 +0000 (11:33 +0900)
Two tests in t7812, added in 8a599983 ("grep: stess test PCRE v2 on
invalid UTF-8 data", 2019-07-26), were missing redirects, failing to
actually test the produced output.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7812-grep-icase-non-ascii.sh

index 531eb59d5785f2487f87f82cd330b9515642554d..c4528432e507018db30d8c8432483c2a4147a899 100755 (executable)
@@ -70,14 +70,14 @@ test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep ASCII from invalid UT
 test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep non-ASCII from invalid UTF-8 data' '
        git grep -h "æ" invalid-0x80 >actual &&
        test_cmp expected actual &&
-       git grep -h "(*NO_JIT)æ" invalid-0x80 &&
+       git grep -h "(*NO_JIT)æ" invalid-0x80 >actual &&
        test_cmp expected actual
 '
 
 test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep non-ASCII from invalid UTF-8 data with -i' '
        test_might_fail git grep -hi "Æ" invalid-0x80 >actual &&
        test_cmp expected actual &&
-       test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 &&
+       test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 >actual &&
        test_cmp expected actual
 '