diff options
-rw-r--r-- | debian/tests/control | 2 | ||||
-rwxr-xr-x | tests/tests/baredebian-tarball | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control index 575b070..882f38b 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 0000000..6b1a1b6 --- /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 |