From 523f605a62b7f559108b8b7301a88bfaaeb6d4e8 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Jun 2015 18:49:38 +0100 Subject: [PATCH] Test suite: Test that --deliberately-not-fast-forward only works duuring NEW phase --- tests/tests/debpolicy-newreject | 4 ++++ 1 file changed, 4 insertions(+) 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 \ -- 2.30.2