From: Ian Jackson Date: Sat, 13 Jun 2015 17:49:38 +0000 (+0100) Subject: Test suite: Test that --deliberately-not-fast-forward only works duuring NEW phase X-Git-Tag: debian/0.30~86 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=523f605a62b7f559108b8b7301a88bfaaeb6d4e8 Test suite: Test that --deliberately-not-fast-forward only works duuring NEW phase --- diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject index 2204244a..2e1bf88a 100755 --- a/tests/tests/debpolicy-newreject +++ b/tests/tests/debpolicy-newreject @@ -107,6 +107,10 @@ t-dgit build t-expect-push-fail "HEAD is not a descendant of the archive's version" \ t-dgit push +: "check that uploader can't force it now" +t-expect-push-fail "not fast forward on dgit branch" \ +t-dgit --deliberately-not-fast-forward push + t-dgit pull t-dgit build t-expect-push-fail \