chiark / gitweb /
Fix spelling of "pseudo"
[dgit.git] / tests / tests / quilt-gbp
index b3e9534323f5928ee5a8fe9ca67d2e32bbc04b1a..e0911653cc9e172e3e71884382e7a0e1fca0638d 100755 (executable)
@@ -2,6 +2,10 @@
 set -e
 . tests/lib
 
+t-tstunt-parsechangelog
+
+t-newtag
+
 t-gbp-example-prep
 
 t-expect-fail 'quilt fixup cannot be linear' \
@@ -23,31 +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-dgit --quilt=gbp push
-
-exit 0
-
-===
+test-push () {
+       t-refs-same-start
+       t-ref-head
 
-want to
+       t-dgit --quilt=gbp push
 
- t-pushed-good XXX need to do something more subtle than check our branch is in repo now
+       t-gbp-pushed-good
+}
 
- check that
-   - we didn't update caller's branch
+test-push
 
- do fetch
- check that this didn't update dgit remote ref
-
- check that Dgit hash in dsc refers to tree identical
- to dpkg-source -x
+echo wombat >>debian/pointless-for-dgit-test
+git add debian/pointless-for-dgit-test
+git commit -m 'Pointless 2'
 
- check that that tree
-  - has patches applied (reuse rules build magic)
-  - has .gitignore edited
+t-commit 'Check pseudomerge' 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