chiark / gitweb /
test suite: baredebian: Move the quilt fixup forward
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Jul 2019 01:04:12 +0000 (02:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 17 Jul 2019 02:25:44 +0000 (03:25 +0100)
We are going to split this function up so that our caller can do the
push via tag-to-upload.

No overall functional change.

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

index 3ef6569d9474dc0ed9f973cfe9dfdc845dfda04f..61db97220ad015472aff1c95b504ad5f8703111d 100644 (file)
@@ -56,12 +56,16 @@ baredebian-test-core () {
        git add debian/patches/.
        t-commit 'extra patch made with quilt' 1.0-2
 
+       t-refs-same-start
+       t-ref-head
+       t-dgit -wn --quilt=$quiltmode --dgit-view-save=split.b quilt-fixup
+       t-ref-head
+
        dpkg-buildpackage -uc -us --build=source
        # ^ Do this by hand here not because we expect users to do this
        #   (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=$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 HEAD     split.p