Imported Upstream version 2.2.0
[platform/upstream/cups.git] / test / 5.2-lpc.sh
1 #!/bin/sh
2 #
3 # Test the lpc command.
4 #
5 # Copyright 2007 by Apple Inc.
6 # Copyright 1997-2005 by Easy Software Products, all rights reserved.
7 #
8 # These coded instructions, statements, and computer programs are the
9 # property of Apple Inc. and are protected by Federal copyright
10 # law.  Distribution and use rights are outlined in the file "LICENSE.txt"
11 # which should have been included with this file.  If this file is
12 # file is missing or damaged, see the license at "http://www.cups.org/".
13 #
14
15 echo "LPC Test"
16 echo ""
17 echo "    lpc status"
18 $VALGRIND ../berkeley/lpc status 2>&1
19 if test $? != 0; then
20         echo "    FAILED"
21         exit 1
22 else
23         echo "    PASSED"
24 fi
25 echo ""