]> git.ipfire.org Git - thirdparty/cups.git/blob - test/print-uri.test
Cleanup
[thirdparty/cups.git] / test / print-uri.test
1 # Print a file using Print-URI
2 {
3 # The name of the test...
4 NAME "Print file using Print-URI"
5
6 # The operation to use
7 OPERATION Print-URI
8
9 # Attributes, starting in the operation group...
10 GROUP operation-attributes-tag
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
15 ATTR uri document-uri file://$filename
16
17 GROUP job-attributes-tag
18 ATTR integer copies 1
19
20 # What statuses are OK?
21 STATUS successful-ok
22 STATUS successful-ok-ignored-or-substituted-attributes
23
24 # What attributes do we expect?
25 EXPECT job-id
26 EXPECT job-uri
27 }