assuan/
[gnupg.git] / checks / decrypt.test
blob1d7449401e681be40c1d20e6d86523185575e9a5
1 #!/bin/sh
3 . $srcdir/defs.inc || exit 3
5 #info Checking decryption of supplied files
6 for i in $plain_files ; do
7 echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 \
8 -o y --yes $srcdir/$i.asc
9 cmp $i y || error "$i: mismatch"
10 done