chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-debrebase: test suite: gdr nmu divergence: do maintainer first
[dgit.git]
/
tests
/
tests
/
gdr-edits
diff --git
a/tests/tests/gdr-edits
b/tests/tests/gdr-edits
index 8bfbfc61b2ddadca5c5afbc56328aff3ec840bb0..cb2e4714aaa1cdc1521cb02eb691d473fdb6dcc9 100755
(executable)
--- a/
tests/tests/gdr-edits
+++ b/
tests/tests/gdr-edits
@@
-2,34
+2,34
@@
set -e
. tests/lib
set -e
. tests/lib
-t-dependencies git-buildpackage libfile-fnmatch-perl
+t-dependencies git-buildpackage libfile-fnmatch-perl
faketime
-t-setup-import g
bp2gdr
+t-setup-import g
dr-convert-gbp
cd $p
cd $p
+v=2.0-3
+t-dch-commit -v $v -m testing
+
t-git-debrebase analyse |tee ../anal.1
cat ../anal.1
t-git-debrebase analyse |tee ../anal.1
cat ../anal.1
-echo >>debian/zorkmid '// debian'
-git add debian/zorkmid
-git commit -m 'DEBIAN add zorkmid'
-
-echo >>src.c '// upstream'
-git commit -a -m 'UPSTREAM edit src.c'
+t-some-changes edits
-for f in debian/zorkmid src.c; do
- echo '// both!' >>$f
- git add $f
-done
-git commit -m 'MIXED add boths'
+t-dch-commit -r sid
git tag t.before
t-git-debrebase
git tag t.before
t-git-debrebase
-
-git diff t.before -- ':.' ':!debian/patches'
+t-gdr-good laundered
t-git-debrebase stitch --prose=wombat
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
t-ok