From 09a50d137d413fea729330a284a2e221f26b756c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 30 Jun 2019 01:19:03 +0100 Subject: test suite: lib-baredebian: Machinery for multiple origs No functional change with existing caller. Signed-off-by: Ian Jackson --- tests/lib-baredebian | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3