diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-13 18:49:38 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-13 18:52:41 +0100 |
commit | 523f605a62b7f559108b8b7301a88bfaaeb6d4e8 (patch) | |
tree | 41a58e7f08e698efd11b235f6b87a167e9fc6e6f /tests | |
parent | 70e9ff4d8096221e391358be6ca680bdfa1af298 (diff) |
Test suite: Test that --deliberately-not-fast-forward only works duuring NEW phase
Diffstat (limited to 'tests')
-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 \ |