X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib-reprepro;h=0a688f655728219330cdba551d3fd78226cf5364;hp=d788a695526a5636d81f588f4fb21f591c5d8352;hb=39ae9e0589506313a69abf7a85155085b1d1147b;hpb=cb53d76e42575c95c3d4fbc4fdc90e276c221c86 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