t7411: become resilient to GETTEXT_POISON
authorVasco Almeida <vascomalmeida@sapo.pt>
Fri, 12 Aug 2016 11:59:02 +0000 (11:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Aug 2016 22:12:33 +0000 (15:12 -0700)
The concerned test greps the error message in git_parse_source() which
contains "bad config line %d in submodule-blob %s".

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7411-submodule-config.sh
index 400e2b1439a9e7fa329f78b8c5d600f34cf375d2..47562ce4654db9d763cdf0c6d6b91724489110ff 100755 (executable)
@@ -89,7 +89,7 @@ test_expect_success 'error message contains blob reference' '
                        HEAD b \
                        HEAD submodule \
                                2>actual_err &&
-               grep "submodule-blob $sha1:.gitmodules" actual_err >/dev/null
+               test_i18ngrep "submodule-blob $sha1:.gitmodules" actual_err >/dev/null
        )
 '