From 32f7ea7414187bdf088cf4ab4281ca358fcd750c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 30 Jun 2019 01:17:20 +0100 Subject: [PATCH] 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 --- debian/tests/control | 2 +- tests/tests/baredebian-multitar | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100755 tests/tests/baredebian-multitar 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 -- 2.30.2