chiark / gitweb /
test suite: baredebian-tarball: New test
[dgit.git] / tests / tests / baredebian-tarball
diff --git a/tests/tests/baredebian-tarball b/tests/tests/baredebian-tarball
new file mode 100755 (executable)
index 0000000..1ab5fce
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+set -e
+. tests/lib
+. $troot/lib-baredebian
+
+t-dependencies GDR
+
+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