diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-07 18:23:15 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-08 23:42:34 +0000 |
commit | 4f6d18cda748b189b50008b7c788a9247228d46c (patch) | |
tree | e911d2b6cd11db601606a0004f501a8f843c90c3 | |
parent | 2799e120b5cfa0ff9f942304f86d8024753bbc70 (diff) |
test suite: lib-reprepro: Introduce t-reprepro-includedsc
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | tests/lib-reprepro | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/lib-reprepro b/tests/lib-reprepro index d788a69..0a688f6 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 |