• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Test print-job and job-hold-until attribute
2{
3	# The name of the test...
4	NAME "Print-Job w/job-hold-until=indefinite"
5
6	# The operation to use
7	OPERATION Print-Job
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 keyword job-hold-until indefinite
16	ATTR name job-name $filename
17
18	FILE $filename
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}
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}
42