From: Ian Jackson Date: Sat, 29 Jun 2019 14:59:45 +0000 (+0100) Subject: test suite: baredebian-tarball: New test X-Git-Tag: archive/debian/9.0~36 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c62b75dc11dbc9afa602972a1317c75d268b85bc;p=dgit.git test suite: baredebian-tarball: New test Signed-off-by: Ian Jackson --- 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