From: Ian Jackson Date: Sun, 30 Jun 2019 00:17:20 +0000 (+0100) Subject: test suite: baredebian-multitar: New test X-Git-Tag: archive/debian/9.0~33 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=32f7ea7414187bdf088cf4ab4281ca358fcd750c test suite: baredebian-multitar: New test We should exercise all that tarball import machinery. The test doesn't yet really examine the results. Signed-off-by: Ian Jackson --- diff --git a/debian/tests/control b/debian/tests/control index 882f38bf..3d3fb65f 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -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 index 00000000..74ad64af --- /dev/null +++ b/tests/tests/baredebian-multitar @@ -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