]> git.ipfire.org Git - thirdparty/cups.git/blame - test/print-job-hold.test
Merge changes from CUPS 1.5svn-r9198.
[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...
c7017ecc 4 NAME "Print-Job w/job-hold-until=indefinite"
ef416fc2 5
6 # The operation to use
c7017ecc 7 OPERATION Print-Job
ef416fc2 8
9 # Attributes, starting in the operation group...
c7017ecc 10 GROUP operation-attributes-tag
ef416fc2 11 ATTR charset attributes-charset utf-8
12 ATTR language attributes-natural-language en
13 ATTR uri printer-uri $uri
14 ATTR name requesting-user-name $user
ef416fc2 15 ATTR keyword job-hold-until indefinite
6d2f911b 16 ATTR name job-name $filename
ef416fc2 17
6d2f911b 18 FILE $filename
ef416fc2 19
20 # What statuses are OK?
c7017ecc
MS
21 STATUS successful-ok
22 STATUS successful-ok-ignored-or-substituted-attributes
ef416fc2 23
24 # What attributes do we expect?
25 EXPECT job-id
26 EXPECT job-uri
27}
c7017ecc
MS
28{
29 NAME "Release-Job"
30 OPERATION Release-Job
31
32 GROUP operation-attributes-tag
33 ATTR charset attributes-charset utf-8
34 ATTR language attributes-natural-language en
35 ATTR uri printer-uri $uri
36 ATTR integer job-id $job-id
37 ATTR name requesting-user-name $user
38
39 # What statuses are OK?
40 STATUS successful-ok
41}