2 # Verify that the server requires the following attributes:
5 # attributes-natural-language
8 # Copyright © 2007-2019 by Apple Inc.
9 # Copyright © 2001-2006 by Easy Software Products. All rights reserved.
11 # Licensed under Apache License v2.0. See the file "LICENSE" for more
15 # The name of the test...
18 # The operation to use
21 # What statuses are OK?
22 STATUS client-error-bad-request
24 # What attributes do we expect?
25 EXPECT attributes-charset
26 EXPECT attributes-natural-language
29 # The name of the test...
30 NAME "Charset Attribute"
32 # The operation to use
35 # The attributes to send
37 ATTR charset attributes-charset utf-8
39 # What statuses are OK?
40 STATUS client-error-bad-request
42 # What attributes do we expect?
43 EXPECT attributes-charset
44 EXPECT attributes-natural-language
47 # The name of the test...
48 NAME "Language Attribute"
50 # The operation to use
53 # The attributes to send
55 ATTR language attributes-natural-language en
57 # What statuses are OK?
58 STATUS client-error-bad-request
60 # What attributes do we expect?
61 EXPECT attributes-charset
62 EXPECT attributes-natural-language
65 # The name of the test...
66 NAME "Language + Charset Attributes"
68 # The operation to use
71 # The attributes to send
73 ATTR language attributes-natural-language en
74 ATTR charset attributes-charset utf-8
76 # What statuses are OK?
77 STATUS client-error-bad-request
79 # What attributes do we expect?
80 EXPECT attributes-charset
81 EXPECT attributes-natural-language
84 # The name of the test...
85 NAME "Charset + Language Attributes"
87 # The operation to use
90 # The attributes to send
92 ATTR charset attributes-charset utf-8
93 ATTR language attributes-natural-language en
95 # What statuses are OK?
96 STATUS client-error-bad-request
98 # What attributes do we expect?
99 EXPECT attributes-charset
100 EXPECT attributes-natural-language
103 # The name of the test...
104 NAME "Charset + Language + Printer URI Attributes"
106 # The operation to use
109 # The attributes to send
111 ATTR charset attributes-charset utf-8
112 ATTR language attributes-natural-language en
113 ATTR uri printer-uri $uri
115 # What statuses are OK?
118 # What attributes do we expect?
119 EXPECT attributes-charset
120 EXPECT attributes-natural-language
123 # The name of the test...
124 NAME "Charset + Language + Job URI Attributes"
126 # The operation to use
129 # The attributes to send
131 ATTR charset attributes-charset utf-8
132 ATTR language attributes-natural-language en
133 ATTR uri job-uri $scheme://$hostname:$port/jobs
135 # What statuses are OK?
136 STATUS client-error-bad-request
138 # What attributes do we expect?
139 EXPECT attributes-charset
140 EXPECT attributes-natural-language
143 # The name of the test...
144 NAME "Bad IPP Version"
146 # The operation to use
149 # The version number to use
152 # The attributes to send
154 ATTR charset attributes-charset utf-8
155 ATTR language attributes-natural-language en
156 ATTR uri printer-uri ipp://localhost/printers
158 # What statuses are OK?
159 STATUS server-error-version-not-supported