]>
git.ipfire.org Git - thirdparty/cups.git/blob - test/5.8-cancel.sh
88b7dd4e2271511a9a93ea8a09fd7ddf9f989a3a
3 # "$Id: 5.8-cancel.sh 7409 2008-03-29 00:26:03Z mike $"
5 # Test the cancel command.
7 # Copyright 2007-2011 by Apple Inc.
8 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
10 # These coded instructions, statements, and computer programs are the
11 # property of Apple Inc. and are protected by Federal copyright
12 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
13 # which should have been included with this file. If this file is
14 # file is missing or damaged, see the license at "http://www.cups.org/".
17 echo "Cancel Destination Test"
19 echo " lp -d Test1 -o job-hold-until=indefinite testfile.jpg"
20 $VALGRIND ..
/systemv
/lp -d Test1
-o job-hold-until
=indefinite testfile.jpg
2>&1
22 $VALGRIND ..
/systemv
/cancel Test1
2>&1
31 echo "Cancel All Test"
34 $VALGRIND ..
/systemv
/cancel
-a 2>&1
44 # End of "$Id: 5.8-cancel.sh 7409 2008-03-29 00:26:03Z mike $".