cups/test/5.3-lpq.sh

23 lines
419 B
Bash
Raw Permalink Normal View History

2023-10-26 10:30:40 +08:00
#!/bin/sh
#
# Test the lpq command.
#
# Copyright © 2007 by Apple Inc.
# Copyright © 1997-2005 by Easy Software Products, all rights reserved.
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
#
echo "LPQ Test"
echo ""
echo " lpq -P Test1"
$runcups $VALGRIND ../berkeley/lpq -P Test1 2>&1
if test $? != 0; then
echo " FAILED"
exit 1
else
echo " PASSED"
fi
echo ""