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
2006-05-22 Marcus Brinkmann <marcus@g10code.de>
[gnupg.git]
/
checks
/
encryptp.test
blob
7df24efec30e111231f014705385ee7b3e0c23e7
1
#!/bin/sh
2
3
.
$srcdir
/
defs.inc ||
exit
3
4
5
#info Checking encryption with a pipe
6
for
i
in
$plain_files $data_files
;
do
7
$GPG
--always-trust -e --yes -r
"
$usrname2
"
<
$i
|
$GPG
--yes
>
y
8
cmp
$i
y || error
"
$i
: mismatch"
9
done
10