]> git.ipfire.org Git - thirdparty/cups.git/blame - test/print-job.test
Merge changes from CUPS 1.4svn-r8148.
[thirdparty/cups.git] / test / print-job.test
CommitLineData
ef416fc2 1# Print a test page using print-job
2{
3 # The name of the test...
4 NAME "Print test page using print-job"
5
6 # The resource to use for the POST
7 # RESOURCE /admin
8
9 # The operation to use
10 OPERATION print-job
11
12 # Attributes, starting in the operation group...
13 GROUP operation
14 ATTR charset attributes-charset utf-8
15 ATTR language attributes-natural-language en
16 ATTR uri printer-uri $uri
17 ATTR name requesting-user-name $user
18 ATTR mimetype document-format application/postscript
19
20 GROUP job
21 ATTR integer copies 1
22
52f6f666 23 FILE testfile.ps
ef416fc2 24
25 # What statuses are OK?
52f6f666
MS
26 STATUS successful-ok
27 STATUS successful-ok-ignored-or-substituted-attributes
ef416fc2 28
29 # What attributes do we expect?
30 EXPECT job-id
31 EXPECT job-uri
32}