chiark / gitweb /
test suite: lib-reprepro: Introduce t-reprepro-includedsc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Jan 2017 18:23:15 +0000 (18:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2017 23:42:34 +0000 (23:42 +0000)
No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib-reprepro

index d788a69..0a688f6 100644 (file)
@@ -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