3 baredebian-test-vars () {
9 origbase=${p}_${uv}.orig
13 baredebian-tarball-mode () {
16 quiltmode=baredebian+tarball
19 baredebian-test-core () {
20 t-expect-fail 'contradicts clean mode git-ff' \
21 t-dgit -wgf --dgit-view-save=split.f1 --$quiltmode quilt-fixup
23 t-dgit -wn --dgit-view-save=split.f1 --$quiltmode quilt-fixup
25 tar --strip-components=1 -axf ../$origbase.tar.*
26 for comp in $xorigcomps; do
29 tar --strip-components=1 -axf ../../$origbase-$comp.tar.*
35 git checkout HEAD -- .
38 # Now we are in this insane state that people seem to expect
40 export QUILT_PATCHES=debian/patches
45 git diff --cached --exit-code split.f1 -- :/ :!/debian
46 git diff --exit-code HEAD..split.f1 -- :/debian
49 quilt new made-with-quilt
54 git add debian/patches/.
55 t-commit 'extra patch made with quilt' 1.0-2
57 dpkg-buildpackage -uc -us --build=source
58 # ^ Do this by hand here not because we expect users to do this
59 # (rather than dgit build), but so that we can check that our
60 # output is the same as users are used to.
62 t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.b quilt-fixup
63 t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.p --new push
65 git merge-base --is-ancestor HEAD split.p
67 git merge-base --is-ancestor $uvtag split.p
68 set +e; git merge-base HEAD $uvtag; rc=$?; set -e; [ $rc = 1 ]
72 # t-pushed-good-* wants a clean tree to start with, but this
73 # workflow expects a mess
75 t-splitbrain-pushed-good-start
76 t-splitbrain-pushed-good--unpack
78 find . -mindepth 1 -maxdepth 1 \
84 t-splitbrain-pushed-good-end-made-dep14