summaryrefslogtreecommitdiff
path: root/tests/tests/drs-push-rejects
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/drs-push-rejects')
-rwxr-xr-xtests/tests/drs-push-rejects5
1 files changed, 4 insertions, 1 deletions
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"