]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1404-update-ref-errors.sh
Merge branch 'sg/t1404-update-ref-test-timeout'
[thirdparty/git.git] / t / t1404-update-ref-errors.sh
index 372f0b1fbb831a8136e6e1e939416d42a249428d..51a4f4c0ac694ff421e3a17b174697122ecf4b1a 100755 (executable)
@@ -27,7 +27,7 @@ test_update_rejected () {
        fi &&
        printf "create $prefix/%s $C\n" $create >input &&
        test_must_fail git update-ref --stdin <input 2>output.err &&
-       grep -F "$error" output.err &&
+       test_i18ngrep -F "$error" output.err &&
        git for-each-ref $prefix >actual &&
        test_cmp unchanged actual
 }
@@ -103,7 +103,7 @@ df_test() {
                printf "%s\n" "delete $delname" "create $addname $D"
        fi >commands &&
        test_must_fail git update-ref --stdin <commands 2>output.err &&
-       test_cmp expected-err output.err &&
+       test_i18ncmp expected-err output.err &&
        printf "%s\n" "$C $delref" >expected-refs &&
        git for-each-ref --format="%(objectname) %(refname)" $prefix/r >actual-refs &&
        test_cmp expected-refs actual-refs