diff options
-rwxr-xr-x | tests/tests/debpolicy-newreject | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject index 2204244..2e1bf88 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 \ |