]>
git.ipfire.org Git - thirdparty/cups.git/blob - test/5.4-lpstat.sh
3 # "$Id: 5.4-lpstat.sh 6649 2007-07-11 21:46:42Z mike $"
5 # Test the lpstat command.
7 # Copyright 2007-2009 by Apple Inc.
8 # Copyright 1997-2005 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/".
20 ..
/systemv
/lpstat
-t 2>&1
32 server
="`../systemv/lpstat -H 2>&1`"
33 if test $?
!= 0 -o "x$server" != xlocalhost
:8631; then
34 echo " FAILED ($server)"
37 echo " PASSED ($server)"
42 # End of "$Id: 5.4-lpstat.sh 6649 2007-07-11 21:46:42Z mike $".