fsck: mark strings for translation
[gitweb.git] / t / t1410-reflog.sh
index 388b0611d8e4590f36d9aa44f11d4945a2ae7408..353bdfd415643daac1cc86bfc3ea47f553111f4a 100755 (executable)
@@ -20,12 +20,12 @@ check_have () {
 }
 
 check_fsck () {
-       output=$(git fsck --full)
+       git fsck --full >fsck.output
        case "$1" in
        '')
-               test -z "$output" ;;
+               test_must_be_empty fsck.output ;;
        *)
-               echo "$output" | grep "$1" ;;
+               test_i18ngrep "$1" fsck.output ;;
        esac
 }