summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-30 01:19:03 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-30 21:11:18 +0100
commit09a50d137d413fea729330a284a2e221f26b756c (patch)
tree97455c59569407f1241538ba4ced2784489fd011 /tests
parenta49cc9d6a608f509e551bc954b24136bf48c33ba (diff)
test suite: lib-baredebian: Machinery for multiple origs
No functional change with existing caller. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib-baredebian10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/lib-baredebian b/tests/lib-baredebian
index abec753..676ff21 100644
--- a/tests/lib-baredebian
+++ b/tests/lib-baredebian
@@ -6,6 +6,7 @@ baredebian-test-vars () {
suite=sid
uv=${v%-*}
uvtag=v$uv
+ xorigcomps=''
}
baredebian-tarball-mode () {
@@ -20,7 +21,14 @@ baredebian-test-core () {
t-dgit -wn --dgit-view-save=split.f1 --$quiltmode quilt-fixup
- tar --strip-components=1 -axf ../${p}_${uv}.orig.tar.*
+ local orig=${p}_${uv}.orig
+ tar --strip-components=1 -axf ../$orig.tar.*
+ for comp in $xorigcomps; do
+ mkdir $comp
+ cd $comp
+ tar --strip-components=1 -axf ../../$orig-$comp.tar.*
+ cd ..
+ done
cd debian
git clean -xdff