From: Ian Jackson Date: Mon, 19 Sep 2016 00:47:53 +0000 (+0100) Subject: Test suite: drs-push-rejects: Break out re-prep (nfc) X-Git-Tag: archive/debian/2.0~148 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=15b1af481906f016401f5c16fc548538ad43e806;hp=63f4c0cbcbc99f9a62ae542fdcf0c297fc3e58c3 Test suite: drs-push-rejects: Break out re-prep (nfc) Signed-off-by: Ian Jackson --- diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index 6f2797a0..07abf4ae 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -27,10 +27,13 @@ mustsucceed () { prep () { local suite=$1 - local csuite=$2 + csuite=$2 cp $tmp/masters/* $tmp/. tag_signer='-u Senatus' tag_message="$p release $version for $suite ($csuite) [dgit]" + re-prep +} +re-prep () { tag_name=$tagpfx/$version push_spec1="HEAD:refs/dgit/$csuite" push_spec2="refs/tags/$tag_name"