]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - test/5.3-lpq.sh
Fix test suite with shared libraries on macOS.
[thirdparty/cups.git] / test / 5.3-lpq.sh
index cef36288f1f073137dfb2788875935dc8def9a91..02ddbd96f3e67f11020baf97021a9c1c7b8e591c 100644 (file)
@@ -1,23 +1,18 @@
 #!/bin/sh
 #
-# "$Id: 5.3-lpq.sh 6649 2007-07-11 21:46:42Z mike $"
+# Test the lpq command.
 #
-#   Test the lpq command.
+# Copyright © 2007 by Apple Inc.
+# Copyright © 1997-2005 by Easy Software Products, all rights reserved.
 #
-#   Copyright 2007 by Apple Inc.
-#   Copyright 1997-2005 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/".
+# Licensed under Apache License v2.0.  See the file "LICENSE" for more
+# information.
 #
 
 echo "LPQ Test"
 echo ""
-echo "    lpq"
-../berkeley/lpq 2>&1
+echo "    lpq -P Test1"
+$runcups $VALGRIND ../berkeley/lpq -P Test1 2>&1
 if test $? != 0; then
        echo "    FAILED"
        exit 1
@@ -25,7 +20,3 @@ else
        echo "    PASSED"
 fi
 echo ""
-
-#
-# End of "$Id: 5.3-lpq.sh 6649 2007-07-11 21:46:42Z mike $".
-#