From c62b75dc11dbc9afa602972a1317c75d268b85bc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 29 Jun 2019 15:59:45 +0100 Subject: [PATCH] test suite: baredebian-tarball: New test Signed-off-by: Ian Jackson --- debian/tests/control | 2 +- tests/tests/baredebian-tarball | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100755 tests/tests/baredebian-tarball diff --git a/debian/tests/control b/debian/tests/control index 575b070c..882f38bf 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,4 +1,4 @@ -Tests: baredebian-push +Tests: 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-tarball b/tests/tests/baredebian-tarball new file mode 100755 index 00000000..6b1a1b63 --- /dev/null +++ b/tests/tests/baredebian-tarball @@ -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 + +quiltmode=baredebian+tarball +git tag -d $uvtag +uvtag='' + +t-expect-fail 'Could not determine appropriate upstream commitish' \ +t-dgit -wn --dgit-view-save=split.g --baredebian quilt-fixup + +baredebian-test-core + +t-ok -- 2.30.2