diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 15:32:43 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 15:46:56 +0100 |
commit | 683b0eb026fa6b43cc0a9ae122764f9a5d031f59 (patch) | |
tree | a67cdf1fc8cfd3fea059ffc9748f2dc0714f93cf /tests/tests/drs-push-rejects | |
parent | fd9a321fa5de1ad724032a7d9c38f77f7e99d946 (diff) |
Infra: Allow FRESHREPO to override "tag already exists"
drs-push-rejects test needs updating too.
Diffstat (limited to 'tests/tests/drs-push-rejects')
-rwxr-xr-x | tests/tests/drs-push-rejects | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index df90d22..5f6d04a 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -160,7 +160,12 @@ mktag mustsucceed $push_spec # succeeds mktag +mustfail 'push is missing head ref update' $push_spec + +git commit --allow-empty -m 'Dummy update' +mktag mustfail 'not replacing previously-pushed version' $push_spec +git reset --hard HEAD~ prep_dm_mangle () { prep unstable sid |