chiark / gitweb /
git-debrebase: test suite: gdr-edits: check branch structure after last push
[dgit.git] / tests / tests / gdr-edits
index ddb354d8f870036425f70554a4a3fedf12a6372c..30786fee76f8d2245a630538d0b0faeceb5be8fd 100755 (executable)
@@ -8,6 +8,10 @@ t-setup-import gbp2gdr
 
 cd $p
 
+v=2.0-3
+dch -v $v -m testing
+git commit -m changelog debian/changelog
+
 t-git-debrebase analyse |tee ../anal.1
 cat ../anal.1
 
@@ -24,17 +28,24 @@ for f in debian/zorkmid src.c; do
 done
 git commit -m 'MIXED add boths'
 
+dch -r sid
+git commit -m changelog debian/changelog
+
 git tag t.before
 
 t-git-debrebase
 
 git diff t.before -- ':.' ':!debian/patches'
 
-: todo 'check that the branch has the expected structure'
+t-gdr-branch-structure laundered
 
 t-git-debrebase stitch --prose=wombat
 
-: todo 'check that all is still well'
+t-gdr-branch-structure stitched
+
+t-dgit push-source
+
+t-gdr-branch-structure pushed
 
 : todo 'more tests: convert dgit import new upstream version'
 : todo 'more tests: convert dgit import same upstream version'