chiark / gitweb /
test suite: lib-baredebian: Introduce $quiltmode
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 29 Jun 2019 14:52:52 +0000 (15:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Jun 2019 10:50:28 +0000 (11:50 +0100)
No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib-baredebian
tests/tests/baredebian-push

index f3ee03e8f11065e81f09694f700876d7b7dc354a..c9fc44f7f369f2aef3a43730a5118a3f5f418a2b 100644 (file)
@@ -2,9 +2,9 @@
 
 baredebian-test () {
        t-expect-fail 'contradicts clean mode git-ff' \
-       t-dgit -wgf --dgit-view-save=split.f1 --baredebian quilt-fixup
+       t-dgit -wgf --dgit-view-save=split.f1 --$quiltmode quilt-fixup
 
-       t-dgit -wn --dgit-view-save=split.f1 --baredebian quilt-fixup
+       t-dgit -wn --dgit-view-save=split.f1 --$quiltmode quilt-fixup
 
        v=1.0-1
        suite=sid
@@ -40,8 +40,8 @@ baredebian-test () {
        #   (rather than dgit build), but so that we can check that our
        #   output is the same as users are used to.
 
-       t-dgit -wn --quilt=baredebian --dgit-view-save=split.b quilt-fixup
-       t-dgit -wn --quilt=baredebian --dgit-view-save=split.p --new push
+       t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.b quilt-fixup
+       t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.p --new push
 
        git merge-base --is-ancestor v${v%-*} split.p
        git merge-base --is-ancestor HEAD     split.p
index 4a3b61ae0aa8153664ae25dc41cdfdfa2abd0e7a..542b0a3fe753aac690ec01a594f32ea89884d610 100755 (executable)
@@ -8,6 +8,8 @@ t-dependencies GDR
 t-setup-import baredebian
 t-tstunt-parsechangelog
 
+quiltmode=baredebian
+
 cd $p
 baredebian-test