chiark / gitweb /
git-debrebase: test suite: gdr-edits: check branch structure after last push
[dgit.git] / tests / tests / gdr-edits
index bab3a3dce67477eae5dd5f580c6c6ae199a70e40..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,10 +28,29 @@ 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'
 
+t-gdr-branch-structure laundered
+
+t-git-debrebase stitch --prose=wombat
+
+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'
+: todo 'more tests: other maint updated, we must fetch'
+: todo 'more tests: other maint updated, alert divergence'
+: todo 'more tests: nmu divergence'
+
 t-ok