Fourth batch
[gitweb.git] / t / t7415-submodule-names.sh
index ba8af785a5dc19de5403127ec5d62e62960bf775..49a37efe9c1d12567dab3997bd8307896ccaa01c 100755 (executable)
@@ -154,7 +154,7 @@ test_expect_success 'fsck detects symlinked .gitmodules file' '
                # symlink detector; this grep string comes from the config
                # variable name and will not be translated.
                test_must_fail git fsck 2>output &&
-               grep gitmodulesSymlink output
+               test_i18ngrep gitmodulesSymlink output
        )
 '
 
@@ -172,7 +172,7 @@ test_expect_success 'fsck detects non-blob .gitmodules' '
                git ls-tree HEAD | sed s/subdir/.gitmodules/ | git mktree &&
 
                test_must_fail git fsck 2>output &&
-               grep gitmodulesBlob output
+               test_i18ngrep gitmodulesBlob output
        )
 '
 
@@ -185,8 +185,8 @@ test_expect_success 'fsck detects corrupt .gitmodules' '
                git add .gitmodules &&
                git commit -m "broken gitmodules" &&
 
-               test_must_fail git fsck 2>output &&
-               grep gitmodulesParse output &&
+               git fsck 2>output &&
+               test_i18ngrep gitmodulesParse output &&
                test_i18ngrep ! "bad config" output
        )
 '