From dd47aa7db84836b8f5bcb3db7cb686dc0241163c Mon Sep 17 00:00:00 2001 From: msweet Date: Wed, 20 Aug 2014 01:22:38 +0000 Subject: [PATCH] Add script to run the IPP tests. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12100 a1ca3aef-8c08-0410-bb20-df032aa958be --- everywhere/ipp-tests.sh | 28 ++++++++++++++++++++++++++++ everywhere/ipp-tests.test | 28 ++++++++++++++-------------- 2 files changed, 42 insertions(+), 14 deletions(-) diff --git a/everywhere/ipp-tests.sh b/everywhere/ipp-tests.sh index e69de29bb..33eaffa29 100755 --- a/everywhere/ipp-tests.sh +++ b/everywhere/ipp-tests.sh @@ -0,0 +1,28 @@ +#!/bin/sh +# +# "$Id$" +# +# IPP Everywhere Printer Self-Certification Manual 1.0: Section 6: IPP Tests. +# +# Copyright 2014 by The Printer Working Group. +# +# This program may be copied and furnished to others, and derivative works +# that comment on, or otherwise explain it or assist in its implementation may +# be prepared, copied, published and distributed, in whole or in part, without +# restriction of any kind, provided that the above copyright notice and this +# paragraph are included on all such copies and derivative works. +# +# The IEEE-ISTO and the Printer Working Group DISCLAIM ANY AND ALL WARRANTIES, +# WHETHER EXPRESS OR IMPLIED INCLUDING (WITHOUT LIMITATION) ANY IMPLIED +# WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. +# +# Usage: +# +# ./ipp-tests.sh "Printer Name" +# + +ippfind "$1._ipp._tcp.local." -x ipptool -P "$1 IPP Results.plist" -I '{}' ipp-tests.test \; + +# +# End of "$Id$". +# diff --git a/everywhere/ipp-tests.test b/everywhere/ipp-tests.test index 94218c54f..99e50573a 100644 --- a/everywhere/ipp-tests.test +++ b/everywhere/ipp-tests.test @@ -1,17 +1,17 @@ # # "$Id$" # -# IPP Everywhere Printer Self-Certification Manual 1.0: Section 6: IPP Tests. +# IPP Everywhere Printer Self-Certification Manual 1.0: Section 6: IPP Tests. # -# Copyright 2014 by The Printer Working Group. -# Copyright 2007-2013 by Apple Inc. -# Copyright 2001-2006 by Easy Software Products. All rights reserved. +# Copyright 2014 by The Printer Working Group. +# Copyright 2007-2013 by Apple Inc. +# Copyright 2001-2006 by Easy Software Products. All rights reserved. # -# These coded instructions, statements, and computer programs are the -# property of Apple Inc. and are protected by Federal copyright -# law. Distribution and use rights are outlined in the file "LICENSE.txt" -# which should have been included with this file. If this file is -# file is missing or damaged, see the license at "http://www.cups.org/". +# These coded instructions, statements, and computer programs are the +# property of Apple Inc. and are protected by Federal copyright +# law. Distribution and use rights are outlined in the file "LICENSE.txt" +# which should have been included with this file. If this file is +# file is missing or damaged, see the license at "http://www.cups.org/". # # Usage: # @@ -19,11 +19,11 @@ # # History: # -# This test file is loosely based on the IPP/1.1, IPP/2.0 and IPP Everywhere -# test files from the CUPS "test" directory. Many of those tests have been -# combined or removed, and all print tests are performed using a sample JPEG -# file. These tests also validate support for the 'media-empty' and -# 'media-needed' keywords in the "printer-state-reasons" Printer attribute. +# This test file is loosely based on the IPP/1.1, IPP/2.0 and IPP Everywhere +# test files from the CUPS "test" directory. Many of those tests have been +# combined or removed, and all print tests are performed using a sample JPEG +# file. These tests also validate support for the 'media-empty' and +# 'media-needed' keywords in the "printer-state-reasons" Printer attribute. # # All tests use IPP version 2.0, unless overridden in a test... -- 2.39.2