]> git.ipfire.org Git - thirdparty/cups.git/blob - test/print-job-hold.test
a46827928a057cf2aabc974bdaefe58619547903
[thirdparty/cups.git] / test / print-job-hold.test
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 keyword job-hold-until indefinite
19 ATTR name job-name $filename
20
21 FILE $filename
22
23 # What statuses are OK?
24 STATUS ok
25 STATUS ok-subst
26
27 # What attributes do we expect?
28 EXPECT job-id
29 EXPECT job-uri
30 }