repo.or.cz
/
gnupg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
assuan/
[gnupg.git]
/
checks
/
decrypt.test
blob
1d7449401e681be40c1d20e6d86523185575e9a5
1
#!/bin/sh
2
3
.
$srcdir
/
defs.inc ||
exit
3
4
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
11