t5536: let 'test_i18ngrep' read the file without redirection
Redirecting 'test_i18ngrep's standard input from a file will interfere with the linting that will be added in a later patch. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
SZEDER Gábor committed
Feb 8, 2018 at 16:56 UTC
93b4b0313c8d9d3600fc27b7023dab0d9d9be739
1 file changed
+1
-1
t/t5536-fetch-conflicts.sh
+1
-1
@@ -22,7 +22,7 @@ verify_stderr () {
22
cat >expected &&
23
# We're not interested in the error
24
# "fatal: The remote end hung up unexpectedly":
25
- test_i18ngrep -E '^(fatal|warning):' <error | grep -v 'hung up' >actual | sort &&
25
+ test_i18ngrep -E '^(fatal|warning):' error | grep -v 'hung up' >actual | sort &&
26
test_i18ncmp expected actual
27
}
28