Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/t5551-fetch-smart-error-is-translated' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 29 Jul 2019 19:38:13 +0000
(12:38 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 29 Jul 2019 19:38:13 +0000
(12:38 -0700)
Test update.
* sg/t5551-fetch-smart-error-is-translated:
t5551: use 'test_i18ngrep' to check translated output
t/t5551-http-fetch-smart.sh
patch
|
blob
|
history
raw
(from parent 1:
ca9eba8
)
diff --git
a/t/t5551-http-fetch-smart.sh
b/t/t5551-http-fetch-smart.sh
index aed2d9bb05202de6a3299e7e5bc17a852146a971..e38e54386795a0e05003e803dc79301ed1cd52d9 100755
(executable)
--- a/
t/t5551-http-fetch-smart.sh
+++ b/
t/t5551-http-fetch-smart.sh
@@
-199,7
+199,7
@@
test_expect_success 'GIT_SMART_HTTP can disable smart http' '
test_expect_success 'invalid Content-Type rejected' '
test_must_fail git clone $HTTPD_URL/broken_smart/repo.git 2>actual &&
- grep "not valid:" actual
+
test_i18n
grep "not valid:" actual
'
test_expect_success 'create namespaced refs' '
@@
-465,7
+465,7
@@
test_expect_success 'GIT_TRACE_CURL_NO_DATA prevents data from being traced' '
test_expect_success 'server-side error detected' '
test_must_fail git clone $HTTPD_URL/error_smart/repo.git 2>actual &&
- grep "server-side error" actual
+
test_i18n
grep "server-side error" actual
'
test_done