From: Ian Jackson Date: Sun, 30 Jun 2019 00:19:03 +0000 (+0100) Subject: test suite: lib-baredebian: Machinery for multiple origs X-Git-Tag: archive/debian/9.0~34 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=09a50d137d413fea729330a284a2e221f26b756c test suite: lib-baredebian: Machinery for multiple origs No functional change with existing caller. Signed-off-by: Ian Jackson --- diff --git a/tests/lib-baredebian b/tests/lib-baredebian index abec753a..676ff21c 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