chiark / gitweb /
git-debrebase: test suite: gdr-import-dgit: test a new upstream non-gdr upload too
[dgit.git] / tests / tests / gdr-import-dgit
index c1e9ba9bd814dd01d60f4de8169d8a23db67ebf7..17ab2bc6347d7312eb4390c36f1c1156770edebf 100755 (executable)
@@ -58,7 +58,6 @@ nmu-fold () {
        git branch unlaundered.$nmubranch
 
        t-git-debrebase
-
        t-gdr-good laundered
 
        t-git-debrebase stitch
@@ -72,4 +71,24 @@ t-dch-commit -v $v -m "incorporate nmu"
 t-dch-commit -r sid
 t-dgit -wgf push-source
 
+: 'now test a new upstream'
+
+t-make-new-upstream-tarball 2.1
+
+git checkout master
+v=2.1-0+nmu1
+nmu-upload-1 nmu2
+
+gbp import-orig --upstream-version=2.1 --debian-branch=nmu2 ../$ust
+t-dch-commit -v $v -m "new upstream $v"
+gbp pq import
+
+#t-dgit -wgf build-source
+
+nmu-upload-2
+
+: 'done the nmu, back to the maintainer'
+
+nmu-fold
+
 t-ok