chiark / gitweb /
tests: drs-push-rejects: todos; now all relevant error conditions in dgit-repos-serve...
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 6 Mar 2014 01:02:28 +0000 (01:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 6 Mar 2014 01:02:28 +0000 (01:02 +0000)
tests/tests/drs-push-rejects

index 7f08810..c770409 100755 (executable)
@@ -91,6 +91,15 @@ 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
 
+
+# fixme:
+#    reject "unknown suite";
+#    reject "missing tag $tag in signed tag object" unless $vals;
+#    reject "multiple tags $tag in signed tag object" unless @$vals == 1;
+#    or reject "command string not understood";
+#    reject "unknown method" unless $mainfunc;
+
+
 prep unstable sid
 mktag
 cp $tmp/dm.gpg $tmp/dd.gpg