]>
git.ipfire.org Git - thirdparty/cups.git/blob - everywhere/ipp-tests.sh
5 # IPP Everywhere Printer Self-Certification Manual 1.0: Section 6: IPP Tests.
7 # Copyright 2014 by The Printer Working Group.
9 # This program may be copied and furnished to others, and derivative works
10 # that comment on, or otherwise explain it or assist in its implementation may
11 # be prepared, copied, published and distributed, in whole or in part, without
12 # restriction of any kind, provided that the above copyright notice and this
13 # paragraph are included on all such copies and derivative works.
15 # The IEEE-ISTO and the Printer Working Group DISCLAIM ANY AND ALL WARRANTIES,
16 # WHETHER EXPRESS OR IMPLIED INCLUDING (WITHOUT LIMITATION) ANY IMPLIED
17 # WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
21 # ./ipp-tests.sh "Printer Name"
24 if test -x ..
/test
/ippfind-static
; then
25 IPPFIND
="../test/ippfind-static"
26 elif test -x .
/ippfind
; then
32 if test -x ..
/test
/ipptool-static
; then
33 IPPTOOL
="../test/ipptool-static"
34 elif test -x .
/ipptool
; then
40 for file in color.jpg
; do
41 if test ! -f $file -a -f ..
/test
/$file; then
46 $IPPFIND "$1._ipp._tcp.local." -x $IPPTOOL -P "$1 IPP Results.plist" -I '{}' ipp-tests.
test \
;