]> git.ipfire.org Git - thirdparty/cups.git/blame - test/print-job-hold.test
Merge changes from CUPS 1.5svn-r9105.
[thirdparty/cups.git] / test / print-job-hold.test
CommitLineData
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
ef416fc2 18 ATTR keyword job-hold-until indefinite
6d2f911b 19 ATTR name job-name $filename
ef416fc2 20
6d2f911b 21 FILE $filename
ef416fc2 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}