summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-29 15:55:44 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-30 21:11:17 +0100
commit0987f3f5937ffd047cf09aea5084f857cabd8c0c (patch)
tree3427a0f678fdc76c9c2251b3d3055512b6cbec3a /tests
parent73ed954cf6f2252cc2dad7b432bfea5086974a80 (diff)
test suite: lib-baredebian: Split up big function
No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib-baredebian14
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/lib-baredebian b/tests/lib-baredebian
index d3af727..762e7e2 100644
--- a/tests/lib-baredebian
+++ b/tests/lib-baredebian
@@ -1,16 +1,17 @@
#
-baredebian-test () {
+baredebian-test-vars () {
quiltmode=baredebian
+ v=1.0-1
+ suite=sid
+}
+baredebian-test-core () {
t-expect-fail 'contradicts clean mode git-ff' \
t-dgit -wgf --dgit-view-save=split.f1 --$quiltmode quilt-fixup
t-dgit -wn --dgit-view-save=split.f1 --$quiltmode quilt-fixup
- v=1.0-1
- suite=sid
-
tar --strip-components=1 -axf ../${p}_${v%-*}.orig.tar.*
cd debian
@@ -64,3 +65,8 @@ baredebian-test () {
t-splitbrain-pushed-good-end-made-dep14
}
+
+baredebian-test () {
+ baredebian-test-vars
+ baredebian-test-core
+}