]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t0033: GETTEXT_POISON fix
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 9 Mar 2023 21:54:06 +0000 (22:54 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 12 Mar 2023 19:31:55 +0000 (20:31 +0100)
In e47363e5a8bd (t0033: add tests for safe.directory, 2022-04-13), we
backported a patch onto v2.30.* that was originally based on a much
newer version. The v2.30.* release train still has the GETTEXT_POISON
CI job, though, and hence needs `test_i18n*` in its tests.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
t/t0033-safe-directory.sh

index 239d93f4d21141f5991f9fb409a4675ece0f98bd..00c6c5110065fa32dd73c64eec1c586685c28dd4 100755 (executable)
@@ -9,7 +9,7 @@ export GIT_TEST_ASSUME_DIFFERENT_OWNER
 
 expect_rejected_dir () {
        test_must_fail git status 2>err &&
-       grep "safe.directory" err
+       test_i18ngrep "safe.directory" err
 }
 
 test_expect_success 'safe.directory is not set' '