untracked-cache: be defensive about missing NULs in index
[gitweb.git] / t / t6050-replace.sh
index 5d6d3184ac390f2cd476a322cf6d15e69a912494..d638119750c5b9f11682814de466cc19a9d38770 100755 (executable)
@@ -133,8 +133,8 @@ test_expect_success 'tag replaced commit' '
 
 test_expect_success '"git fsck" works' '
      git fsck master >fsck_master.out &&
-     grep "dangling commit $R" fsck_master.out &&
-     grep "dangling tag $(cat .git/refs/tags/mytag)" fsck_master.out &&
+     test_i18ngrep "dangling commit $R" fsck_master.out &&
+     test_i18ngrep "dangling tag $(cat .git/refs/tags/mytag)" fsck_master.out &&
      test -z "$(git fsck)"
 '