summaryrefslogtreecommitdiff
path: root/tests/lib-reprepro
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-07 18:23:15 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-08 23:42:34 +0000
commit4f6d18cda748b189b50008b7c788a9247228d46c (patch)
treee911d2b6cd11db601606a0004f501a8f843c90c3 /tests/lib-reprepro
parent2799e120b5cfa0ff9f942304f86d8024753bbc70 (diff)
test suite: lib-reprepro: Introduce t-reprepro-includedsc
No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib-reprepro')
-rw-r--r--tests/lib-reprepro9
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