From a04c715cb3760cdc51f952e199381297ce3e7d4f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 17 Feb 2018 12:30:39 +0000 Subject: [PATCH] git-debrebase: test suite: gdr-import-dgit: introduce nmu-upload (nfc) Signed-off-by: Ian Jackson --- tests/tests/gdr-import-dgit | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/tests/tests/gdr-import-dgit b/tests/tests/gdr-import-dgit index a9a31877..2d77d430 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' -- 2.30.2