From: Ian Jackson Date: Wed, 20 Nov 2013 18:34:30 +0000 (+0000) Subject: autopkgtests: push-nextdgit: new test X-Git-Tag: debian/0.19~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=6e3d6d474b8e0a9333231d14616e407ddf25db16;hp=53d8d1df6eec4a6169e7f9425266bc43bdcbf154 autopkgtests: push-nextdgit: new test --- diff --git a/debian/tests/control b/debian/tests/control index e5da910e..db826322 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,3 @@ -Tests: clone-nogit fetch-localgitonly push-newpackage +Tests: clone-nogit fetch-localgitonly push-newpackage push-nextdgit Tests-Directory: tests/tests Depends: @, devscripts diff --git a/tests/tests/push-nextdgit b/tests/tests/push-nextdgit new file mode 100644 index 00000000..2f744070 --- /dev/null +++ b/tests/tests/push-nextdgit @@ -0,0 +1,22 @@ +#!/bin/bash +set -e +. tests/lib + +t-archive pari-extra 3-1 +t-git pari-extra 3-1 + +t-dgit clone $p + +cd $p +t-cloned-fetched-good + +v=3-2~dummy1 +t-apply-diff 3-1 $v +debcommit -a + +t-dgit --dpkg-buildpackage:-d build +t-dgit push + +t-pushed-good dgit/sid + +echo ok.