chiark / gitweb /
tests: drs-push-rejects: test unknown suite
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 12 Mar 2014 18:36:53 +0000 (18:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 12 Mar 2014 18:36:53 +0000 (18:36 +0000)
tests/tests/drs-push-rejects

index 36d4dab..fdd390d 100755 (executable)
@@ -124,8 +124,12 @@ 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/debian/wombat
 
+prep unstable sid
+mktag
+echo woody >$tmp/suites
+mustfail 'unknown suite' $push_spec
+
 # fixme:
-#    reject "unknown suite";
 #    or reject "command string not understood";
 #    reject "unknown method" unless $mainfunc;