23 linhas
410 B
Bash
23 linhas
410 B
Bash
#!/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"
|
|
$VALGRIND ../berkeley/lpq -P Test1 2>&1
|
|
if test $? != 0; then
|
|
echo " FAILED"
|
|
exit 1
|
|
else
|
|
echo " PASSED"
|
|
fi
|
|
echo ""
|