summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-11 19:01:47 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-25 20:12:52 +0100
commit6193147fcaa5f003243e79eaf7ace4b4d5152fbf (patch)
treea01e40943fd5369d0a92a9ba30a54e6cc9fb790e /tests
parentbd57c194e497ba2c327dde5400e14b573733c21a (diff)
Split brain: Test suite: quilt-gbp: Test 2nd push (ie, test pseudomerge)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/quilt-gbp24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/tests/quilt-gbp b/tests/tests/quilt-gbp
index e528567..2dc9b42 100755
--- a/tests/tests/quilt-gbp
+++ b/tests/tests/quilt-gbp
@@ -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