chiark / gitweb /
test suite: baredebian-plusgit: New test for baredebian+git
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Jun 2019 21:16:56 +0000 (22:16 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Jun 2019 21:17:19 +0000 (22:17 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/tests/control
tests/tests/baredebian-plusgit [new file with mode: 0755]

index aff2f93c3b436c933840dcbdb99c1d00cd67e7d0..82b99b14379edb500c892ce744c19936b28258b5 100644 (file)
@@ -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 (executable)
index 0000000..5c53fdd
--- /dev/null
@@ -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