From ae0be57dee74ad701f67dfa484fe983808311762 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 19 Sep 2016 01:48:13 +0100 Subject: Test suite: drs-push-rejects: Test push of same version with different dgit Signed-off-by: Ian Jackson --- tests/tests/drs-push-rejects | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/tests') diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index 07abf4a..f87cbdc 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -149,6 +149,12 @@ mustfail 'push is missing head ref update' $push_spec1 +$push_spec2 git commit --allow-empty -m 'Dummy update' mktag mustfail 'not replacing previously-pushed version' +$push_spec1 +$push_spec2 + +t-newtag +re-prep +mktag +mustfail 'not replacing previously-pushed version' +$push_spec1 +$push_spec2 + git reset --hard HEAD~ prep_dm_mangle () { -- cgit v1.2.3