summaryrefslogtreecommitdiff
path: root/test/5.7-lprm.sh
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 14:35:49 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2020-01-20 14:35:49 +0900
commit4f30eb9bb279c3f652637d4da8fd740784bed936 (patch)
treefcad8ff5ec7b8548fbac04073eb0d4f54199a212 /test/5.7-lprm.sh
parentfee1878d4e1018e70e29327f6e0616a81dd2e960 (diff)
downloadcups-4f30eb9bb279c3f652637d4da8fd740784bed936.tar.gz
cups-4f30eb9bb279c3f652637d4da8fd740784bed936.tar.bz2
cups-4f30eb9bb279c3f652637d4da8fd740784bed936.zip
Imported Upstream version 2.2.9upstream/2.2.9
Diffstat (limited to 'test/5.7-lprm.sh')
-rw-r--r--test/5.7-lprm.sh19
1 files changed, 8 insertions, 11 deletions
diff --git a/test/5.7-lprm.sh b/test/5.7-lprm.sh
index e456ec0..29251f9 100644
--- a/test/5.7-lprm.sh
+++ b/test/5.7-lprm.sh
@@ -2,22 +2,19 @@
#
# Test the lprm command.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 1997-2005 by Easy Software Products, all rights reserved.
+# Copyright © 2007-2011 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 "LPRM Current Test"
echo ""
echo " lpr -o job-hold-until=indefinite testfile.jpg"
-$VALGRIND ../berkeley/lpr -o job-hold-until=indefinite testfile.jpg 2>&1
+$runcups $VALGRIND ../berkeley/lpr -o job-hold-until=indefinite testfile.jpg 2>&1
echo " lprm"
-$VALGRIND ../berkeley/lprm 2>&1
+$runcups $VALGRIND ../berkeley/lprm 2>&1
if test $? != 0; then
echo " FAILED"
exit 1
@@ -29,9 +26,9 @@ echo ""
echo "LPRM Destination Test"
echo ""
echo " lpr -P Test1 -o job-hold-until=indefinite testfile.jpg"
-$VALGRIND ../berkeley/lpr -P Test1 -o job-hold-until=indefinite testfile.jpg 2>&1
+$runcups $VALGRIND ../berkeley/lpr -P Test1 -o job-hold-until=indefinite testfile.jpg 2>&1
echo " lprm Test1"
-$VALGRIND ../berkeley/lprm Test1 2>&1
+$runcups $VALGRIND ../berkeley/lprm Test1 2>&1
if test $? != 0; then
echo " FAILED"
exit 1