chiark / gitweb /
autopkgtests: push-nextdgit: new test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 20 Nov 2013 18:34:30 +0000 (18:34 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:28 +0000 (17:45 +0000)
debian/tests/control
tests/tests/push-nextdgit [new file with mode: 0644]

index e5da910ec6965748e9bb31b66bd83c73fb638bf7..db826322f9d1b1b170a43193876b4951bfd0c034 100644 (file)
@@ -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 (file)
index 0000000..2f74407
--- /dev/null
@@ -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.