t7812: add missing redirects
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>
Andreas Schwab committed
Nov 26, 2019 at 22:50 UTC
c74b3cbb83b382fbedfd728a805c6b6f0e9baaf3
1 file changed
+2
-2
t/t7812-grep-icase-non-ascii.sh
+2
-2
@@ -70,14 +70,14 @@ test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep ASCII from invalid UT
70
test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep non-ASCII from invalid UTF-8 data' '
71
git grep -h "æ" invalid-0x80 >actual &&
72
test_cmp expected actual &&
73
- git grep -h "(*NO_JIT)æ" invalid-0x80 &&
73
+ git grep -h "(*NO_JIT)æ" invalid-0x80 >actual &&
74
test_cmp expected actual
75
'
76
77
test_expect_success GETTEXT_LOCALE,LIBPCRE2 'PCRE v2: grep non-ASCII from invalid UTF-8 data with -i' '
78
test_might_fail git grep -hi "Æ" invalid-0x80 >actual &&
79
test_cmp expected actual &&
80
- test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 &&
80
+ test_must_fail git grep -hi "(*NO_JIT)Æ" invalid-0x80 >actual &&
81
test_cmp expected actual
82
'
83