Merge branch 'ak/pre-receive-hook-template-modefix' into maint
[gitweb.git] / t / t7607-merge-overwrite.sh
index 758a623cdbb5f7e367bcfce5c239d79258c46e84..9444d6a9b9026748028178c4b66ee8bbbc1d89fa 100755 (executable)
@@ -115,7 +115,7 @@ cat >expect <<\EOF
 error: The following untracked working tree files would be overwritten by merge:
        sub
        sub2
-Please move or remove them before you can merge.
+Please move or remove them before you merge.
 Aborting
 EOF
 
@@ -125,7 +125,7 @@ test_expect_success 'will not overwrite untracked file in leading path' '
        cp important sub &&
        cp important sub2 &&
        test_must_fail git merge sub 2>out &&
-       test_cmp out expect &&
+       test_i18ncmp out expect &&
        test_path_is_missing .git/MERGE_HEAD &&
        test_cmp important sub &&
        test_cmp important sub2 &&