]> git.ipfire.org Git - thirdparty/cups.git/blame - test/5.8-cancel.sh
Load cups into easysw/current.
[thirdparty/cups.git] / test / 5.8-cancel.sh
CommitLineData
ef416fc2 1#!/bin/sh
2#
f7faf1f5 3# "$Id: 5.8-cancel.sh 5091 2006-02-08 18:39:56Z mike $"
ef416fc2 4#
5# Test the cancel command.
6#
bd7854cb 7# Copyright 1997-2006 by Easy Software Products, all rights reserved.
ef416fc2 8#
9# These coded instructions, statements, and computer programs are the
10# property of Easy Software Products and are protected by Federal
11# copyright law. Distribution and use rights are outlined in the file
12# "LICENSE.txt" which should have been included with this file. If this
13# file is missing or damaged please contact Easy Software Products
14# at:
15#
16# Attn: CUPS Licensing Information
17# Easy Software Products
18# 44141 Airport View Drive, Suite 204
19# Hollywood, Maryland 20636 USA
20#
21# Voice: (301) 373-9600
22# EMail: cups-info@cups.org
23# WWW: http://www.cups.org
24#
25
26echo "Cancel Destination Test"
27echo ""
28echo " cancel Test1"
29../systemv/cancel Test1 2>&1
30if test $? != 0; then
31 echo " FAILED"
32 exit 1
33else
34 echo " PASSED"
35fi
36echo ""
37
38echo "Cancel All Test"
39echo ""
bd7854cb 40echo " cancel -a"
41../systemv/cancel -a 2>&1
ef416fc2 42if test $? != 0; then
43 echo " FAILED"
44 exit 1
45else
46 echo " PASSED"
47fi
48echo ""
49
50#
f7faf1f5 51# End of "$Id: 5.8-cancel.sh 5091 2006-02-08 18:39:56Z mike $".
ef416fc2 52#