]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/4.1-requests.test
Update copyright/license info on test files, and remove old SVN keywords.
[thirdparty/cups.git] / test / 4.1-requests.test
index 3e2e4d7c5007dd809819571ad8b5128d382793b4..8ff798f918924ec86067662abeade112659527a2 100644 (file)
@@ -1,11 +1,15 @@
 #
-# "$Id: 4.1-requests.test 177 2006-06-21 00:20:03Z jlovell $"
+# Verify that the server requires the following attributes:
 #
-#   Verify that the server requires the following attributes:
+#   attributes-charset
+#   attributes-natural-language
+#   printer-uri/job-uri
 #
-#       attributes-charset
-#       attributes-natural-language
-#       printer-uri/job-uri
+# Copyright © 2007-2013 by Apple Inc.
+# Copyright © 2001-2006 by Easy Software Products. All rights reserved.
+#
+# Licensed under Apache License v2.0.  See the file "LICENSE" for more
+# information.
 #
 {
        # The name of the test...
        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 177 2006-06-21 00:20:03Z jlovell $"
+# End of "$Id$"
 #