From 15b1af481906f016401f5c16fc548538ad43e806 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 19 Sep 2016 01:47:53 +0100 Subject: Test suite: drs-push-rejects: Break out re-prep (nfc) Signed-off-by: Ian Jackson --- tests/tests/drs-push-rejects | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index 6f2797a..07abf4a 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" -- cgit v1.2.3