From f7fd85c62514b8e46b580ba301449fb172c58c83 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jul 2019 16:35:16 +0100 Subject: test suite: Break out t-tagupl-* Signed-off-by: Ian Jackson --- tests/tests/tagupl | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to 'tests/tests') diff --git a/tests/tests/tagupl b/tests/tests/tagupl index c53367f..7859400 100755 --- a/tests/tests/tagupl +++ b/tests/tests/tagupl @@ -12,7 +12,11 @@ t-worktree 1.0 v=1.0-1 +t-tagupl-settings + cd $p +git checkout -b native + git checkout --orphan upstream quilt-tip-2 git rm -rf debian git commit -m 'pseudo-upstream' @@ -23,29 +27,9 @@ git checkout -B master quilt-tip-2 upstream=$(git rev-parse upstream/1.0~0) tagname=test-dummy/$v -${DGIT_DEBPUSH_TEST-git debpush} \ - --distro=test-dummy --quilt=gbp --no-push -u Senatus +t-tagupl-test --no-push --quilt=gbp # xxx test pushing - -cd .. -mkdir tagupl -cd tagupl - -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 - -DGIT_DRS_ANY_URL=1 \ -DGIT_DRS_MODE="tag2upload $tmp/$p $tagname" \ - $troot/drs-git-ext - # todo: test each miss/rejection -cd $tmp/$p - -t-dgit fetch -t-pushed-good master - t-ok -- cgit v1.2.3