path: root/t/
diff options
authorMax Kirillov <>2014-06-28 22:04:45 (GMT)
committerJunio C Hamano <>2014-06-30 21:07:48 (GMT)
commit6d49de414f9dc7a94503a3798dd745971669cebe (patch)
treebb7208685db08776a1031395da9b6babf23c81f7 /t/
parent7fe683480124239ec0ab555c9b529e4c54707d7b (diff)
git-6d49de414f9dc7a94503a3798dd745971669cebe.tar.bz2 fix and mark as broken invalid tests
Tests "merge without conflict (missing LF at EOF" and "merge result added missing LF" are meaningless - the first one is identical to "merge without conflict" and the second compares results of those identical tests, which are always same. This has been so since their addition in ba1f5f3537. Probably "new4.txt" was meant to be used instead of "new2.txt". Unfortunately, the current merge-file breaks with new4 - conflict is reported. They also fail at that revision if fixed. Fix the file reference to "new4.txt" and mark the tests as failing - they look like legitimate expectations, just not satisfied at time being. Signed-off-by: Max Kirillov <> Acked-by: Johannes Schindelin <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 3 insertions, 3 deletions
diff --git a/t/ b/t/
index 432f086..3115285 100755
--- a/t/
+++ b/t/
@@ -77,10 +77,10 @@ test_expect_success "merge without conflict (--quiet)" \
"git merge-file --quiet test.txt orig.txt new2.txt"
cp new1.txt test2.txt
-test_expect_success "merge without conflict (missing LF at EOF)" \
- "git merge-file test2.txt orig.txt new2.txt"
+test_expect_failure "merge without conflict (missing LF at EOF)" \
+ "git merge-file test2.txt orig.txt new4.txt"
-test_expect_success "merge result added missing LF" \
+test_expect_failure "merge result added missing LF" \
"test_cmp test.txt test2.txt"
cp test.txt backup.txt