]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/print-job.test
Fix PDF filtering.
[thirdparty/cups.git] / test / print-job.test
index 5bbc92c91a8f794a487d36529796911a307aeb0f..079dfa5e60d6ca11a75baa3c210eb97ebe2e8f94 100644 (file)
@@ -1,30 +1,27 @@
 # Print a test page using print-job
 {
        # The name of the test...
-       NAME "Print test page using print-job"
-
-       # The resource to use for the POST
-       # RESOURCE /admin
+       NAME "Print file using Print-Job"
 
        # The operation to use
-       OPERATION print-job
+       OPERATION Print-Job
 
        # Attributes, starting in the operation group...
-       GROUP operation
+       GROUP operation-attributes-tag
        ATTR charset attributes-charset utf-8
        ATTR language attributes-natural-language en
        ATTR uri printer-uri $uri
        ATTR name requesting-user-name $user
-       ATTR mimetype document-format application/postscript
+       ATTR mimeMediaType document-format $filetype
 
-       GROUP job
+       GROUP job-attributes-tag
        ATTR integer copies 1
 
-       FILE ../data/testprint.ps
+       FILE $filename
 
        # What statuses are OK?
-       STATUS ok
-       STATUS ok-subst
+       STATUS successful-ok
+       STATUS successful-ok-ignored-or-substituted-attributes
 
        # What attributes do we expect?
        EXPECT job-id