t5551: use 'test_i18ngrep' to check translated output
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 24 Jun 2019 12:44:46 +0000 (14:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Jun 2019 19:06:28 +0000 (12:06 -0700)
commite532a90a9fe45a55158d2d1974d41b1f37408fc4
tree16cc3c522954b2501ccbf7801dcdab2c98cf6b77
parentb697d92f56511e804b8ba20ccbe7bdc85dc66810
t5551: use 'test_i18ngrep' to check translated output

The two tests 'invalid Content-Type rejected' and 'server-side error
detected' in 't5551-http-fetch-smart.sh' use "plain" 'grep' to check
that 'git clone' failed with the expected error message, but the
messages they are checking are translated, and, consequently, these
tests fail when the test script is run with GIT_TEST_GETTEXT_POISON
enabled.

Use 'test_i18ngrep' instead.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5551-http-fetch-smart.sh