chiark / gitweb /
Split brain: Test suite: quilt-gbp: Test 2nd push (ie, test pseudomerge)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 11 Sep 2016 18:01:47 +0000 (19:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Sep 2016 19:12:52 +0000 (20:12 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/quilt-gbp

index e528567..2dc9b42 100755 (executable)
@@ -27,21 +27,25 @@ t-dgit --quilt=gbp --clean=git build-source
 t-expect-fail 'specifies a different tree to your HEAD commit' \
   t-dgit push
 
-t-refs-same-start
-t-ref-head
+test-push () {
+       t-refs-same-start
+       t-ref-head
 
-t-dgit --quilt=gbp push
+       t-dgit --quilt=gbp push
 
-t-gbp-pushed-good
+       t-gbp-pushed-good
+}
 
-exit 0
+test-push
 
-===
+echo wombat >>debian/pointless-for-dgit-test
+git add debian/pointless-for-dgit-test
+git commit -m 'Pointless 2'
 
-want to
+t-commit 'Check psuedomerge' 1.0-3
 
-make a new change
+t-dgit --quilt=gbp --clean=git build-source
 
-push it
+test-push
 
-check that the synthetic fast forward worked
+exit 0