Fix tests under GETTEXT_POISON on git-apply
[gitweb.git] / t / t4133-apply-filenames.sh
index 94da99075c55c790aae7a260ff6c4964f950c47c..2ecb4216b7179ef836836d90a5f76f5e4349ca23 100755 (executable)
@@ -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