aboutsummaryrefslogtreecommitdiff
path: root/t/t4133-apply-filenames.sh
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2012-08-27 13:36:52 +0800
committerJunio C Hamano <gitster@pobox.com>2012-08-27 09:26:30 -0700
commit76638d90e88374f8b1396e4fce75a424260ba6da (patch)
tree1b60cec3a2bc581a8afb8c2d115a0940db08f396 /t/t4133-apply-filenames.sh
parentb354f11b595bb2bca4bae96b06778b3a9882b621 (diff)
downloadgit-76638d90e88374f8b1396e4fce75a424260ba6da.tar.gz
git-76638d90e88374f8b1396e4fce75a424260ba6da.tar.xz
Fix tests under GETTEXT_POISON on git-apply
Use the i18n-specific test functions in test scripts for git-apply. This issue was was introduced in the following commits: de373 i18n: apply: mark parseopt strings for translation 3638e i18n: apply: mark strings for translation and been broken under GETTEXT_POISON=YesPlease since. Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4133-apply-filenames.sh')
-rwxr-xr-xt/t4133-apply-filenames.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4133-apply-filenames.sh b/t/t4133-apply-filenames.sh
index 94da99075..2ecb4216b 100755
--- a/t/t4133-apply-filenames.sh
+++ b/t/t4133-apply-filenames.sh
@@ -30,9 +30,9 @@ EOF
test_expect_success 'apply diff with inconsistent filenames in headers' '
test_must_fail git apply bad1.patch 2>err &&
- grep "inconsistent new filename" err &&
+ test_i18ngrep "inconsistent new filename" err &&
test_must_fail git apply bad2.patch 2>err &&
- grep "inconsistent old filename" err
+ test_i18ngrep "inconsistent old filename" err
'
test_done