From: Ian Jackson Date: Sat, 6 Jul 2019 22:21:50 +0000 (+0100) Subject: test suite: t-tagupl-setting: Provide a "salsa" remote X-Git-Tag: archive/debian/9.1~20 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=314836c04a9199e5a008e1ed8734887cf9969bf6;p=dgit.git test suite: t-tagupl-setting: Provide a "salsa" remote This will give git-debpush somewhere to push to. Signed-off-by: Ian Jackson --- diff --git a/tests/lib b/tests/lib index f6b653fa..29b68e73 100644 --- a/tests/lib +++ b/tests/lib @@ -1202,6 +1202,13 @@ t-tagupl-settings () { export DGIT_DRS_SENDMAIL=$troot/tstunt/sendmail export DGIT_DRS_DGIT=$troot/tstunt/dgit t-chain-test-somehow + + mkdir ../pretend-salsa + (set -e; cd ../pretend-salsa; git init --bare) + git remote add salsa $tmp/pretend-salsa + # git branch --set-upstream-to complains, so + git config branch.master.remote salsa + git config branch.master.merge refs/heads/master } t-tagupl-run-drs () {