summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-30 22:16:56 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-30 22:17:19 +0100
commit94ab482143940ba5c6d9c4c03e1f79dbfefc5422 (patch)
tree5ff4e5dbf9082c942f23995a2a3e18dea46fe5a0
parentd61c3b4c98cdcb527bb598946950e66b4487ea51 (diff)
test suite: baredebian-plusgit: New test for baredebian+git
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--debian/tests/control2
-rwxr-xr-xtests/tests/baredebian-plusgit17
2 files changed, 18 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control
index aff2f93..82b99b1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,4 +1,4 @@
-Tests: baredebian-multitar baredebian-push baredebian-tarball
+Tests: baredebian-multitar baredebian-plusgit baredebian-push baredebian-tarball
Tests-Directory: tests/tests
Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, quilt, git-debrebase, git-buildpackage, libdpkg-perl, libgit-wrapper-perl, liblist-compare-perl, libstring-shellquote-perl, libtry-tiny-perl
diff --git a/tests/tests/baredebian-plusgit b/tests/tests/baredebian-plusgit
new file mode 100755
index 0000000..5c53fdd
--- /dev/null
+++ b/tests/tests/baredebian-plusgit
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+. tests/lib
+. $troot/lib-baredebian
+
+t-dependencies quilt
+
+t-setup-import baredebian
+t-tstunt-parsechangelog
+
+cd $p
+baredebian-test-vars
+quiltmode=baredebian+git
+
+baredebian-test-minimum
+
+t-ok