Code

i18n: git-merge basic messages
[git.git] / t / t7607-merge-overwrite.sh
index 5f731a1177267e76f19dbe1605a4d0f2e8e749bd..0a9b90b33f4bc5b66c7e5d9b1334eab9f84c5118 100755 (executable)
@@ -150,8 +150,14 @@ test_expect_success 'will not overwrite untracked file on unborn branch' '
        git rm -fr . &&
        git checkout --orphan new &&
        cp important c0.c &&
-       test_must_fail git merge c0 2>out &&
-       test_cmp out expect &&
+       test_must_fail git merge c0 2>out
+'
+
+test_expect_success C_LOCALE_OUTPUT 'will not overwrite untracked file on unborn branch: output' '
+       test_cmp out expect
+'
+
+test_expect_success 'will not overwrite untracked file on unborn branch .git/MERGE_HEAD sanity etc.' '
        test_path_is_missing .git/MERGE_HEAD &&
        test_cmp important c0.c
 '