diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-07-17 09:31:41 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-07-17 14:12:27 +0100 |
commit | ae83d742219963877aad83685460f6726d715313 (patch) | |
tree | 53bbbc4a9a9964e1637b7da45a23f6510c3ce7b3 /tests | |
parent | 214f8cb90d08f2ca3fe9e6d7db6bf6eb6528650e (diff) |
git-debpush: check that upstream tag is ancestor of $branch
Closes: #932096
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/tagupl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl index cf750fe..3b0a7a0 100755 --- a/tests/tests/tagupl +++ b/tests/tests/tagupl @@ -27,7 +27,9 @@ t-tagupl-settings tagname=test-dummy/$v +t-expect-fail "upstream tag $upstreamtag is not an ancestor of refs/heads/master" \ t-tagupl-test --quilt=gbp --upstream=$upstreamtag +t-tagupl-test --quilt=gbp --force --upstream=$upstreamtag t-pushed-good master # todo: test each miss/rejection |