chiark / gitweb /
Test suite: drs-push-rejects: Break out re-prep (nfc)
[dgit.git] / tests / tests / drs-push-rejects
index 6f2797a..07abf4a 100755 (executable)
@@ -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"