chiark / gitweb /
git-debrebase: test suite: introduce t-dch-commit
[dgit.git] / tests / tests / gdr-edits
index 1d74da3b54d1961983bdd06322cead0ebd6ae420..3efd063d408fac83f685809aa3209156e1ca9c18 100755 (executable)
@@ -8,6 +8,9 @@ t-setup-import gbp2gdr
 
 cd $p
 
+v=2.0-3
+t-dch-commit -v $v -m testing
+
 t-git-debrebase analyse |tee ../anal.1
 cat ../anal.1
 
@@ -24,4 +27,28 @@ for f in debian/zorkmid src.c; do
 done
 git commit -m 'MIXED add boths'
 
+t-dch-commit -r sid
+
+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