Revert manifest to default one
[external/cups.git] / test / create-job-timeout.test
1 # Print a test page using create-job + send-document, but don't send
2 # last-document = true
3 {
4         # The name of the test...
5         NAME "Print test page using create-job"
6
7         # The resource to use for the POST
8         # RESOURCE /admin
9
10         # The operation to use
11         OPERATION create-job
12
13         # Attributes, starting in the operation group...
14         GROUP operation
15         ATTR charset attributes-charset utf-8
16         ATTR language attributes-natural-language en
17         ATTR uri printer-uri $uri
18         ATTR name requesting-user-name $user
19
20         GROUP job
21         ATTR integer copies 1
22         ATTR name job-sheets unclassified,unclassified
23
24         # What statuses are OK?
25         STATUS successful-ok
26
27         # What attributes do we expect?
28         EXPECT job-id
29         EXPECT job-uri
30 }
31 {
32         # The name of the test...
33         NAME "... and send-document"
34
35         # The resource to use for the POST
36         # RESOURCE /admin
37
38         # The operation to use
39         OPERATION send-document
40
41         # Attributes, starting in the operation group...
42         GROUP operation
43         ATTR charset attributes-charset utf-8
44         ATTR language attributes-natural-language en
45         ATTR uri printer-uri $uri
46         ATTR integer job-id $job-id
47         ATTR name requesting-user-name $user
48         ATTR mimetype document-format application/octet-stream
49
50         FILE ../data/testprint.ps
51
52         # What statuses are OK?
53         STATUS successful-ok
54 }