chiark / gitweb /
git-debrebase: test suite: gdr-diverge-nmu-dgit: new test
[dgit.git] / tests / tests / gdr-edits
index f5ca2a434b986106f2d2a6f1dab7f2ac94a0706f..cb2e4714aaa1cdc1521cb02eb691d473fdb6dcc9 100755 (executable)
@@ -2,15 +2,34 @@
 set -e
 . tests/lib
 
-t-dependencies git-buildpackage libfile-fnmatch-perl
+t-dependencies git-buildpackage libfile-fnmatch-perl faketime
 
-t-setup-import gbp2gdr
+t-setup-import gdr-convert-gbp
 
 cd $p
 
+v=2.0-3
+t-dch-commit -v $v -m testing
+
 t-git-debrebase analyse |tee ../anal.1
 cat ../anal.1
 
-: xxx
+t-some-changes edits
+
+t-dch-commit -r sid
+
+git tag t.before
+
+t-git-debrebase
+t-gdr-good laundered
+
+t-git-debrebase stitch --prose=wombat
+t-gdr-good stitched
+
+t-dgit push-source
+t-gdr-good pushed
+
+: todo 'more tests: other maint updated, we must fetch'
+: todo 'more tests: other maint updated, alert divergence'
 
 t-ok