]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t6023-merge-file.sh
git-svn: fix cloning of HTTP URLs with '+' in their path
[git.git] / t / t6023-merge-file.sh
index 869e8d559e82b6015999e3967ce6cf77761481b3..79dc58b2ce962ea133c4796d0dff66eb9684b48a 100755 (executable)
@@ -149,4 +149,14 @@ test_expect_success 'MERGE_ZEALOUS simplifies non-conflicts' '
 
 '
 
+sed -e 's/deerit./&\n\n\n\n/' -e "s/locavit,/locavit;/" < new6.txt > new8.txt
+sed -e 's/deerit./&\n\n\n\n/' -e "s/locavit,/locavit --/" < new7.txt > new9.txt
+
+test_expect_success 'ZEALOUS_ALNUM' '
+
+       ! git merge-file -p new8.txt new5.txt new9.txt > merge.out &&
+       test 1 = $(grep ======= < merge.out | wc -l)
+
+'
+
 test_done