From: Junio C Hamano Date: Mon, 29 Jul 2019 19:38:13 +0000 (-0700) Subject: Merge branch 'sg/t5551-fetch-smart-error-is-translated' into maint X-Git-Tag: v2.23.0-rc0~1^2~29 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0a2e8387e9f4842f134cfdde7a28eee61daec971?hp=ca9eba84d1dbae988b5e6f85748230130b4e37ba Merge branch 'sg/t5551-fetch-smart-error-is-translated' into maint Test update. * sg/t5551-fetch-smart-error-is-translated: t5551: use 'test_i18ngrep' to check translated output --- diff --git a/t/t5551-http-fetch-smart.sh b/t/t5551-http-fetch-smart.sh index aed2d9bb05..e38e543867 100755 --- 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_i18ngrep "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_i18ngrep "server-side error" actual ' test_done