X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Fgdr-edits;h=45a3f20c25e4fe670730a09b0fbeb0a6847adcdb;hp=f5ca2a434b986106f2d2a6f1dab7f2ac94a0706f;hb=1951e44b06b3e179b508bcd139d8758c250e35e2;hpb=d7c6dd14d94b5bcf12e4c4db72a5d4151825df09 diff --git a/tests/tests/gdr-edits b/tests/tests/gdr-edits index f5ca2a43..45a3f20c 100755 --- a/tests/tests/gdr-edits +++ b/tests/tests/gdr-edits @@ -2,15 +2,42 @@ 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 + +git branch before-noop + +t-git-next-date +t-git-debrebase +t-git-debrebase stitch +t-gdr-good pushed + +t-refs-same-start +t-ref-same refs/heads/before-noop +t-ref-head t-ok