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
want-success () {
local qmode=$1; shift
- t-dgit "$@" --quilt=$qmode build-source
-
t-refs-same-start
t-ref-head
+
+ t-dgit "$@" --quilt=$qmode build-source
+
t-dgit "$@" --quilt=$qmode push
t-$qmode-pushed-good
}
---
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