File: set-system-attributes.test

package info (click to toggle)
ippsample 0.0~git20220607.72f89b3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 36,580 kB
  • sloc: ansic: 108,192; sh: 3,417; makefile: 1,163
file content (32 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
	# The name of the test...
	NAME "Set-System-Attributes"

	# Always IPP/2.0
	VERSION 2.0

	# The operation to use
	OPERATION Set-System-Attributes

	# Attributes, starting in the operation group...
	GROUP operation-attributes-tag
	ATTR charset attributes-charset utf-8
	ATTR language attributes-natural-language en
	ATTR uri system-uri $uri

	GROUP system-attributes-tag
	ATTR integer system-default-printer-id 3
	ATTR uri system-geo-location "geo:37.334722,-122.008889"
	ATTR text system-info "System description changed."
	ATTR text system-location "System location changed."
	ATTR text system-make-and-model "System make and model changed."
	ATTR name system-name "System name changed."
	ATTR collection system-owner-col {
		MEMBER name owner-name "John Adams"
		MEMBER uri owner-uri "mailto:john.adams@example.com"
		MEMBER text owner-vcard "BEGIN:VCARD\r\n","VERSION:4.0\r\n","FN:John Adams\r\n","EMAIL;TYPE=work:john.adams@example.com\r\n","NOTE:Unknown location.\r\n","END:VCARD\r\n"
	}

	# What statuses are OK?
	STATUS successful-ok
}