chiark / gitweb /
Test suite: Test that --deliberately-not-fast-forward only works duuring NEW phase
[dgit.git] / tests / tests / debpolicy-newreject
index 2204244ab7163f10d45f7177b51458e5980bfced..2e1bf88aaa3cbed16182abcf086c5f5ff9c289ba 100755 (executable)
@@ -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 \