summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/tests/debpolicy-newreject4
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 \