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 20:11:17 +0000 (21:11 +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 d0ecf936f1cc815e49ee36070c03954f3206432c..c7f7b2bd96d7e6efb375a09329d9252ba6342c10 100755 (executable)
@@ -8,6 +8,8 @@ t-dependencies GDR DEBORIG quilt
 t-setup-import baredebian
 t-tstunt-parsechangelog
 
+quiltmode=baredebian
+
 cd $p
 baredebian-test