summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2018-02-08 16:56:53 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-08 10:54:27 -0800
commit93b4b0313c8d9d3600fc27b7023dab0d9d9be739 (patch)
tree5db1e52de98b2497ea18ba5cd3c15f8119c2c1ec
parentt5510: consolidate 'grep' and 'test_i18ngrep' patterns (diff)
downloadtgif-93b4b0313c8d9d3600fc27b7023dab0d9d9be739.tar.xz
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>
-rwxr-xr-xt/t5536-fetch-conflicts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5536-fetch-conflicts.sh b/t/t5536-fetch-conflicts.sh
index 2e42cf3316..644736b8a3 100755
--- a/t/t5536-fetch-conflicts.sh
+++ b/t/t5536-fetch-conflicts.sh
@@ -22,7 +22,7 @@ verify_stderr () {
cat >expected &&
# We're not interested in the error
# "fatal: The remote end hung up unexpectedly":
- test_i18ngrep -E '^(fatal|warning):' <error | grep -v 'hung up' >actual | sort &&
+ test_i18ngrep -E '^(fatal|warning):' error | grep -v 'hung up' >actual | sort &&
test_i18ncmp expected actual
}