root/WizardsToolkit/trunk/utilities/tests/decipher.sh

Revision 1081, 0.6 KB (checked in by cristy, 7 weeks ago)
  • Property svn:executable set to *
Line 
1#!/bin/sh
2# Copyright (C) 1999-2010 ImageMagick Studio LLC
3#
4# This program is covered by multiple licenses, which are described in
5# LICENSE. You should have received a copy of LICENSE with this
6# package; otherwise see http://www.wizards-toolkit.org/script/license.php.
7#
8#  Test for '${DECIPHER}' utility.
9#
10
11set -e # Exit on any error
12. ${srcdir}/utilities/tests/common.sh
13
14CIPHERTEXT="README.cip"
15MYKEYRING="keyring.xdm"
16PLANETEXT="README.txt~"
17${DECIPHER} -verbose -keyring ${MYKEYRING} -passphrase ${PASSPHRASE} ${CIPHERTEXT} ${PLANETEXT}
18diff ${PLAINTEXT} ${PLANETEXT}
Note: See TracBrowser for help on using the browser.