From: Ian Jackson Date: Sat, 7 Jan 2017 18:23:15 +0000 (+0000) Subject: test suite: lib-reprepro: Introduce t-reprepro-includedsc X-Git-Tag: archive/debian/3.0~63 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=4f6d18cda748b189b50008b7c788a9247228d46c test suite: lib-reprepro: Introduce t-reprepro-includedsc No functional change. Signed-off-by: Ian Jackson --- diff --git a/tests/lib-reprepro b/tests/lib-reprepro index d788a695..0a688f65 100644 --- a/tests/lib-reprepro +++ b/tests/lib-reprepro @@ -38,7 +38,7 @@ t-archive-query-reprepro () { # hook called by t-archive-query local v=$3 local dscf=$4 local rrinst= - t-reprepro--run includedsc $suite $tmp/mirror/pool/$dscf + t-reprepro-includedsc $suite $tmp/mirror/pool/$dscf "$rrinst" } t-reprepro-setup () { @@ -74,6 +74,13 @@ END done } +t-reprepro-includedsc () { + local suite=$1 + local dscf=$2 + local rrinst=$3 + t-reprepro--run includedsc $suite $dscf +} + t-reprepro--run () { # caller is supposed to have set rrinst local mir=$tmp/${rrinst}mirror