3 baredebian-test-vars () {
9 baredebian-test-core () {
10 t-expect-fail 'contradicts clean mode git-ff' \
11 t-dgit -wgf --dgit-view-save=split.f1 --$quiltmode quilt-fixup
13 t-dgit -wn --dgit-view-save=split.f1 --$quiltmode quilt-fixup
15 tar --strip-components=1 -axf ../${p}_${v%-*}.orig.tar.*
19 git checkout HEAD -- .
22 # Now we are in this insane state that people seem to expect
24 export QUILT_PATCHES=debian/patches
29 git diff --cached --exit-code split.f1 -- :/ :!/debian
30 git diff --exit-code HEAD..split.f1 -- :/debian
33 quilt new made-with-quilt
38 git add debian/patches/.
39 t-commit 'extra patch made with quilt' 1.0-2
41 dpkg-buildpackage -uc -us --build=source
42 # ^ Do this by hand here not because we expect users to do this
43 # (rather than dgit build), but so that we can check that our
44 # output is the same as users are used to.
46 t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.b quilt-fixup
47 t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.p --new push
49 git merge-base --is-ancestor v${v%-*} split.p
50 git merge-base --is-ancestor HEAD split.p
51 set +e; git merge-base HEAD v${v%-*}; rc=$?; set -e; [ $rc = 1 ]
54 # t-pushed-good-* wants a clean tree to start with, but this
55 # workflow expects a mess
57 t-splitbrain-pushed-good-start
58 t-splitbrain-pushed-good--unpack
60 find . -mindepth 1 -maxdepth 1 \
66 t-splitbrain-pushed-good-end-made-dep14