]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/4.3-job-ops.test
Merge changes from CUPS trunk, r7566.
[thirdparty/cups.git] / test / 4.3-job-ops.test
index 0d3a42cf86ad80b90d4aba83b77c49ef23133d23..d403d074fa3ed05d314147113162a92863ed7e86 100644 (file)
@@ -3,6 +3,27 @@
 #
 #   Verify that the IPP job operations work.
 #
+{
+       # The name of the test...
+       NAME "Print PostScript Job with bad job-sheets value to Test1"
+
+       # The operation to use
+       OPERATION print-job
+       RESOURCE /printers/Test1
+
+       # The attributes to send
+       GROUP operation
+       ATTR charset attributes-charset utf-8
+       ATTR language attributes-natural-language en
+       ATTR uri printer-uri $method://$hostname:$port/printers/Test1
+       ATTR name requesting-user-name $user
+       ATTR name job-sheets "none\,none"
+
+       FILE testfile.ps
+
+       # What statuses are OK?
+       STATUS client-error-bad-request
+}
 {
        # The name of the test...
        NAME "Print PostScript Job to Test1"
@@ -69,7 +90,7 @@
        ATTR name requesting-user-name $user
 
         GROUP subscription
-       ATTR uri notify-recipient-uri testnotify
+       ATTR uri notify-recipient-uri testnotify:///
 
        FILE testfile.jpg
 
        ATTR uri printer-uri $method://$hostname:$port/printers/Test1
        ATTR name requesting-user-name $user
 
+       GROUP job
+       ATTR keyword job-hold-until weekend
+
        FILE testfile.pdf
 
        # What statuses are OK?