]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/4.1-requests.test
Import CUPS v1.7.1
[thirdparty/cups.git] / test / 4.1-requests.test
index ca0c8d32695aa1710394e35005ed06884e3a300b..a168d6e9423bcf9079eb3df0f84115a7f0a55db8 100644 (file)
@@ -1,5 +1,5 @@
 #
-# "$Id: 4.1-requests.test 1595 2001-03-01 20:40:17Z mike $"
+# "$Id: 4.1-requests.test 11396 2013-11-06 20:09:03Z msweet $"
 #
 #   Verify that the server requires the following attributes:
 #
        GROUP operation
        ATTR charset attributes-charset utf-8
        ATTR language attributes-natural-language en
-       ATTR uri job-uri $method://$hostname:$port/jobs
+       ATTR uri job-uri $scheme://$hostname:$port/jobs
 
        # What statuses are OK?
-       STATUS successful-ok
+       STATUS client-error-bad-request
 
        # What attributes do we expect?
        EXPECT attributes-charset
        EXPECT attributes-natural-language
 }
+{
+       # The name of the test...
+       NAME "Bad IPP Version"
+
+       # The operation to use
+       OPERATION get-jobs
+
+       # The version number to use
+       VERSION 0.0
+
+       # The attributes to send
+       GROUP operation
+       ATTR charset attributes-charset utf-8
+       ATTR language attributes-natural-language en
+       ATTR uri printer-uri ipp://localhost/printers
+
+       # What statuses are OK?
+       STATUS server-error-version-not-supported
+}
 #
-# End of "$Id: 4.1-requests.test 1595 2001-03-01 20:40:17Z mike $"
+# End of "$Id: 4.1-requests.test 11396 2013-11-06 20:09:03Z msweet $"
 #