chiark / gitweb /
Test suite: quilt-gb-build-modes: Fixes, passes now
[dgit.git] / tests / tests / quilt-gbp
index d3624e9ee6f5183350b10a586c3beab2724513b1..e528567ffd93886b80c3d24995ff5768e5b2ee90 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,24 +27,21 @@ 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
+
+t-dgit --quilt=gbp push
+
+t-gbp-pushed-good
+
 exit 0
 
 ===
 
 want to
 
- do push
- t-pushed-good
- check that
-   - we didn't update caller's branch
-
- 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
+make a new change
 
- check that that tree
-  - has patches applied (reuse rules build magic)
-  - has .gitignore edited
+push it
 
+check that the synthetic fast forward worked