]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # Test print-job and job-hold-until attribute |
2 | { | |
3 | # The name of the test... | |
4 | NAME "Print with print-job + job-hold-until" | |
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 | ATTR keyword job-hold-until indefinite | |
20 | ||
21 | GROUP job | |
22 | ATTR integer copies 1 | |
23 | ||
24 | FILE ../data/testprint.ps | |
25 | ||
26 | # What statuses are OK? | |
27 | STATUS ok | |
28 | STATUS ok-subst | |
29 | ||
30 | # What attributes do we expect? | |
31 | EXPECT job-id | |
32 | EXPECT job-uri | |
33 | } |