From 683b0eb026fa6b43cc0a9ae122764f9a5d031f59 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 31 May 2015 15:32:43 +0100 Subject: Infra: Allow FRESHREPO to override "tag already exists" drs-push-rejects test needs updating too. --- tests/tests/drs-push-rejects | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/tests/drs-push-rejects') 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 @@ -159,8 +159,13 @@ prep unstable sid 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 -- cgit v1.2.3