]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4001-diff-rename.sh
Merge branch 'ab/i18n-fixup' into maint
[thirdparty/git.git] / t / t4001-diff-rename.sh
index 3dadf9b31636b862b2ab7377ce7100ebebd397e2..844277cfa605f51cccd5d78a48a83fb75c03af9b 100755 (executable)
@@ -64,18 +64,18 @@ test_expect_success \
     'validate the output.' \
     'compare_diff_patch current expected'
 
-test_expect_success C_LOCALE_OUTPUT 'favour same basenames over different ones' '
+test_expect_success 'favour same basenames over different ones' '
        cp path1 another-path &&
        git add another-path &&
        git commit -m 1 &&
        git rm path1 &&
        mkdir subdir &&
        git mv another-path subdir/path1 &&
-       git status | grep "renamed: .*path1 -> subdir/path1"'
+       git status | test_i18ngrep "renamed: .*path1 -> subdir/path1"'
 
-test_expect_success C_LOCALE_OUTPUT  'favour same basenames even with minor differences' '
+test_expect_success 'favour same basenames even with minor differences' '
        git show HEAD:path1 | sed "s/15/16/" > subdir/path1 &&
-       git status | grep "renamed: .*path1 -> subdir/path1"'
+       git status | test_i18ngrep "renamed: .*path1 -> subdir/path1"'
 
 test_expect_success 'setup for many rename source candidates' '
        git reset --hard &&