summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-06 23:23:46 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-07 11:18:17 +0100
commit5b779fb105d7059dbb4fe63d97c2675bf7c40802 (patch)
tree1ffcdabf54ba8060daba3010dbcdec5b3a6a4200 /tests/lib
parent5986d81a14f60f14ee2d31967be1bc2f6ba6cc7a (diff)
test suite: t-tagupl-run-drs: New source parameter
Change all callers. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib b/tests/lib
index 39f1382..c37c512 100644
--- 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