4 # IPP Everywhere Printer Self-Certification Manual 1.0: Section 5: Bonjour Tests.
6 # Copyright 2014-2015 by The Printer Working Group.
7 # Copyright 2007-2013 by Apple Inc.
8 # Copyright 2001-2006 by Easy Software Products. All rights reserved.
10 # These coded instructions, statements, and computer programs are the
11 # property of Apple Inc. and are protected by Federal copyright
12 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
13 # which should have been included with this file. If this file is
14 # file is missing or damaged, see the license at "http://www.cups.org/".
18 # (run from within ippfind)
19 # ippfind ... -x ipptool -t "{}" bonjour-value-tests.test ";"
22 FILE-ID "org.pwg.ipp-everywhere.20151009.bonjour"
25 # The name of the test...
26 NAME "Validate TXT record values using Get-Printer-Attributes"
28 # The operation to use
29 OPERATION Get-Printer-Attributes
31 # Attributes, starting in the operation group...
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
37 # What statuses are OK?
40 # What attributes do we expect?
41 EXPECT printer-more-info OF-TYPE uri IN-GROUP printer-attributes-tag COUNT 1 WITH-VALUE "$ENV[IPPFIND_TXT_ADMINURL]"
42 EXPECT printer-uuid OF-TYPE uri IN-GROUP printer-attributes-tag COUNT 1 WITH-VALUE "urn:uuid:$ENV[IPPFIND_TXT_UUID]"