chiark / gitweb /
Test suite: unrepresentable: New test
[dgit.git] / tests / tests / quilt-splitbrains
index 2478465a182818f9d90c7c22b30b4235a1e86198..134d243893a0c56b7426267b22894adbe17ff170 100755 (executable)
@@ -2,6 +2,12 @@
 set -e
 . tests/lib
 
+# This test script tests each of the split brain quilt modes, and
+# --quilt=linear, with a tree suitable for each of those, and pushes
+# them in sequence.  The idea is to check that each tree is rejected
+# by the wrong quilt modes, and accepted and processed correctly by
+# the right ones.
+
 t-tstunt-parsechangelog
 
 t-newtag
@@ -52,7 +58,7 @@ Subject: Add .gitignore
 ---
 END
 
-git-diff /dev/null .gitignore >>$pf || test $? = 1
+git diff /dev/null .gitignore >>$pf || test $? = 1
 echo ${pf##*/} >>debian/patches/series
 
 git add debian/patches