summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-02-17 12:30:39 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-06-16 16:04:31 +0100
commita04c715cb3760cdc51f952e199381297ce3e7d4f (patch)
treebd27d7fb6eddab656789452e853cb3857c98fd8c /tests
parentefd164b666d95dec51c55c1dfe4364e59c360add (diff)
git-debrebase: test suite: gdr-import-dgit: introduce nmu-upload (nfc)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/gdr-import-dgit24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/tests/gdr-import-dgit b/tests/tests/gdr-import-dgit
index a9a3187..2d77d43 100755
--- a/tests/tests/gdr-import-dgit
+++ b/tests/tests/gdr-import-dgit
@@ -12,21 +12,25 @@ cd $p
git checkout -b nmu
-v=2.0-2+num1
-t-dch-commit -v $v -m nmu
+nmu-upload () {
+ t-dch-commit -v $v -m nmu
+
+ t-some-changes nmu
-t-some-changes nmu
+ t-dch-commit -r sid
-t-dch-commit -r sid
+ t-dgit -wgf build-source
-t-dgit -wgf build-source
+ cd ..
+ c=${p}_${v}_source.changes
+ debsign -kBCD22CD83243B79D3DFAC33EA3DBCBC039B13D8A $c
+ dput -c $tmp/dput.cf test-dummy $c
-cd ..
-c=${p}_${v}_source.changes
-debsign -kBCD22CD83243B79D3DFAC33EA3DBCBC039B13D8A $c
-dput -c $tmp/dput.cf test-dummy $c
+ t-archive-process-incoming sid
+}
-t-archive-process-incoming sid
+v=2.0-2+num1
+nmu-upload
: 'done the nmu, switching back to the maintainer hat'