summaryrefslogtreecommitdiff
path: root/tests/tests/gdr-edits
blob: d82c2383f1ab639a022bbb28deb7cfc7eb9c989f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
set -e
. tests/lib

t-dependencies git-buildpackage libfile-fnmatch-perl

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

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: convert dgit import new 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