chiark / gitweb /
test suite: baredebian-multitar: New test
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Jun 2019 00:17:20 +0000 (01:17 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Jun 2019 20:11:18 +0000 (21:11 +0100)
We should exercise all that tarball import machinery.

The test doesn't yet really examine the results.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/tests/control
tests/tests/baredebian-multitar [new file with mode: 0755]

index 882f38bf9e4a85c615e72db5ffbe73e252d35a0a..3d3fb65f9c60153e7148c4063e32300aa1cb5a15 100644 (file)
@@ -1,4 +1,4 @@
-Tests: baredebian-push baredebian-tarball
+Tests: baredebian-multitar baredebian-push baredebian-tarball
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, git-debrebase, git-buildpackage, devscripts, libdpkg-perl, libgit-wrapper-perl, liblist-compare-perl, libstring-shellquote-perl, libtry-tiny-perl, quilt
 
diff --git a/tests/tests/baredebian-multitar b/tests/tests/baredebian-multitar
new file mode 100755 (executable)
index 0000000..74ad64a
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+set -e
+. tests/lib
+. $troot/lib-baredebian
+
+t-dependencies GDR DEBORIG quilt
+
+t-setup-import baredebian
+t-tstunt-parsechangelog
+
+cd $p
+baredebian-test-vars
+baredebian-tarball-mode
+
+rm -f ../example_1.0.orig.tar.*
+cp $troot/pkg-srcs/${p}_${uv}.orig*.tar.* ..
+xorigcomps=docs
+
+git tag -d $uvtag
+
+baredebian-test-core
+
+t-ok