]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | #!/bin/sh |
2 | # | |
bc44d920 | 3 | # "$Id: 5.8-cancel.sh 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 4 | # |
5 | # Test the cancel command. | |
6 | # | |
bc44d920 | 7 | # Copyright 2007 by Apple Inc. |
bd7854cb | 8 | # Copyright 1997-2006 by Easy Software Products, all rights reserved. |
ef416fc2 | 9 | # |
10 | # These coded instructions, statements, and computer programs are the | |
bc44d920 | 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/". | |
ef416fc2 | 15 | # |
16 | ||
17 | echo "Cancel Destination Test" | |
18 | echo "" | |
19 | echo " cancel Test1" | |
20 | ../systemv/cancel Test1 2>&1 | |
21 | if test $? != 0; then | |
22 | echo " FAILED" | |
23 | exit 1 | |
24 | else | |
25 | echo " PASSED" | |
26 | fi | |
27 | echo "" | |
28 | ||
29 | echo "Cancel All Test" | |
30 | echo "" | |
bd7854cb | 31 | echo " cancel -a" |
32 | ../systemv/cancel -a 2>&1 | |
ef416fc2 | 33 | if test $? != 0; then |
34 | echo " FAILED" | |
35 | exit 1 | |
36 | else | |
37 | echo " PASSED" | |
38 | fi | |
39 | echo "" | |
40 | ||
41 | # | |
bc44d920 | 42 | # End of "$Id: 5.8-cancel.sh 6649 2007-07-11 21:46:42Z mike $". |
ef416fc2 | 43 | # |