chiark / gitweb /
test suite: t-tagupl-run-drs: New source parameter
[dgit.git] / tests / lib
index 39f13825fc32bdc6bfb2d29ed0c66b2baf2f3f20..c37c512d74eaedb591bcecba6a7990b85cac3a2f 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -1212,11 +1212,12 @@ t-tagupl-settings () {
 }
 
 t-tagupl-run-drs () {
+       local source=$1
        cd ..
        cd tagupl
 
        DGIT_DRS_ANY_URL=1 \
-       DGIT_DRS_MODE="tag2upload $tmp/$p $tagname" \
+       DGIT_DRS_MODE="tag2upload $source $tagname" \
         $troot/drs-git-ext 
 
        cd $tmp/$p
@@ -1227,7 +1228,7 @@ t-tagupl-test () {
                --distro=test-dummy -u Senatus "$@"
 
        mkdir ../tagupl
-       t-tagupl-run-drs
+       t-tagupl-run-drs $tmp/$p
 
        t-dgit fetch
        t-pushed-good master