summaryrefslogtreecommitdiff
path: root/tests/tests/gdr-import-dgit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/gdr-import-dgit')
-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'