summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 15:32:43 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 15:46:56 +0100
commit683b0eb026fa6b43cc0a9ae122764f9a5d031f59 (patch)
treea67cdf1fc8cfd3fea059ffc9748f2dc0714f93cf /tests
parentfd9a321fa5de1ad724032a7d9c38f77f7e99d946 (diff)
Infra: Allow FRESHREPO to override "tag already exists"
drs-push-rejects test needs updating too.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/drs-push-rejects5
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