chiark / gitweb /
Test suite: drs-push-rejects: Break out re-prep (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 19 Sep 2016 00:47:53 +0000 (01:47 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Sep 2016 19:12:52 +0000 (20:12 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
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"