diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-02-26 19:17:31 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-03-05 18:29:08 +0000 |
commit | b65d27db012ce0dfcb15b1d1f143866a3cc56ae6 (patch) | |
tree | e07ab4d169a816ca2921d3f574d3582d15714c07 /tests/tests/drs-push-rejects | |
parent | cdd43051c739c4157175ede1bdd1a54c9d2a7e8d (diff) |
tests: drs-push-rejects: failing test for dm
Diffstat (limited to 'tests/tests/drs-push-rejects')
-rwxr-xr-x | tests/tests/drs-push-rejects | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index 6098da7..6bc9bff 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -32,7 +32,7 @@ prep () { cp $tmp/masters/* $tmp/. tag_signer='-u Senatus' tag_message="$p release $version for $suite ($csuite) [dgit]" - tag_name=debian/3-2_dummy1 + tag_name=debian/$version push_spec1="HEAD:refs/dgit/$csuite" push_spec2="refs/tags/$tag_name" push_spec="$push_spec1 $push_spec2" @@ -58,16 +58,21 @@ mustfail 'tag message not in expected format' $push_spec prep unstable sid mktag - mustfail 'sid != sponge' HEAD:refs/dgit/sponge $push_spec2 # fixme test --sig-policy-url string # fixme cannot test reject "signature is not of type 00!"; -git push origin $push_spec - +prep unstable sid +git push origin $push_spec # succeeds mktag - mustfail 'not replacing previously-pushed version' $push_spec +git checkout v2 +version=3-2_dummy2 +prep unstable sid +tag_signer='-u Populus' +mktag +git push origin $push_spec # succeeds + echo ok. |