chiark / gitweb /
git-debpush: check that upstream tag is ancestor of $branch
[dgit.git] / tests / tests / tagupl
index cf750fe62cfadedf22164163921a3dd2b52c7efa..3b0a7a090ef567c108b2fdbcdc1f455ca87b42ea 100755 (executable)
@@ -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