diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-07-06 16:35:16 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-07-07 09:54:19 +0100 |
commit | f7fd85c62514b8e46b580ba301449fb172c58c83 (patch) | |
tree | 5588a813105657112239764ff30b0ba272e5bdd1 /tests/lib | |
parent | 5a5d1e5e19d5782ac517a31fb3751c43289ed84c (diff) |
test suite: Break out t-tagupl-*
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1194,6 +1194,31 @@ t-policy-periodic () { : '))))))))))))))))))))))))))))))))))))))))' } +t-tagupl-settings () { + export DGIT_DRS_EMAIL_NOREPLY=noreply@example.org + export DGIT_DRS_SENDMAIL=$troot/tstunt/sendmail + export DGIT_DRS_DGIT=$troot/tstunt/dgit + t-chain-test-somehow +} + +t-tagupl-test () { + ${DGIT_DEBPUSH_TEST-git debpush} \ + --distro=test-dummy --no-push -u Senatus "$@" + + cd .. + mkdir tagupl + cd tagupl + + DGIT_DRS_ANY_URL=1 \ + DGIT_DRS_MODE="tag2upload $tmp/$p $tagname" \ + $troot/drs-git-ext + + cd $tmp/$p + + t-dgit fetch + t-pushed-good master +} + t-buildproductsdir-config () { bpd=$tmp/bpd t-git-config dgit.default.build-products-dir $bpd |