From ff53225eafcc9e53998f9f49085a366f3f98fc9c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 19 Sep 2016 01:34:55 +0100 Subject: Split brain: dgit-repos-server: Permit pushing maintainer tag too Split brain is going to need the maintainer tag on the dgit server. Allow clients to push the _both_ the DEP-14 and new dgit archive/ tag. In this case dgit-repos-server can largely ignore the DEP-14 tag. Signed-off-by: Ian Jackson --- tests/tests/drs-push-rejects | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/tests') diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index e4cf944..6f2797a 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -102,7 +102,8 @@ mustfail 'push is missing tag ref update' $push_spec1 mustfail 'push is missing head ref update' +$push_spec2 mustfail 'pushing unexpected ref' $push_spec HEAD:refs/wombat mustfail 'pushing multiple heads' $push_spec HEAD:refs/dgit/wombat -mustfail 'pushing multiple tags' $push_spec HEAD:refs/tags/$tagpfx/wombat +mustfail E:'pushing multiple tags|pushing too many similar tags' \ + $push_spec HEAD:refs/tags/$tagpfx/wombat prep unstable sid mktag -- cgit v1.2.3