]> git.ipfire.org Git - thirdparty/cups.git/blob - test/5.3-lpq.sh
4c0e8496811a420e19c17cb6b56e1a8bfe8e2d54
[thirdparty/cups.git] / test / 5.3-lpq.sh
1 #!/bin/sh
2 #
3 # Test the lpq 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 "LPQ Test"
16 echo ""
17 echo " lpq -P Test1"
18 $VALGRIND ../berkeley/lpq -P Test1 2>&1
19 if test $? != 0; then
20 echo " FAILED"
21 exit 1
22 else
23 echo " PASSED"
24 fi
25 echo ""