]> git.ipfire.org Git - thirdparty/cups.git/blame - test/print-job-hold.test
Changelog.
[thirdparty/cups.git] / test / print-job-hold.test
CommitLineData
4e523753 1# Test print-job and job-hold-until attribute
2{
3 # The name of the test...
8962df79 4 NAME "Print-Job w/job-hold-until=indefinite"
4e523753 5
6 # The operation to use
8962df79 7 OPERATION Print-Job
4e523753 8
9 # Attributes, starting in the operation group...
8962df79 10 GROUP operation-attributes-tag
e94d9da6 11 ATTR charset attributes-charset utf-8
4e523753 12 ATTR language attributes-natural-language en
13 ATTR uri printer-uri $uri
14 ATTR name requesting-user-name $user
4e523753 15 ATTR keyword job-hold-until indefinite
fa7e8544 16 ATTR name job-name $filename
4e523753 17
fa7e8544 18 FILE $filename
4e523753 19
20 # What statuses are OK?
8962df79 21 STATUS successful-ok
22 STATUS successful-ok-ignored-or-substituted-attributes
4e523753 23
24 # What attributes do we expect?
25 EXPECT job-id
26 EXPECT job-uri
27}
8962df79 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}