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
/
encryptp.test
blob
c63fb822f8d4458b69be4174da8163b3ef85ce4a
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
$srcdir
/
run-gpg
-e --yes -r
"
$usrname2
"
<
$i
|
tee
yy |
$srcdir
/
run-gpg
--yes
>
y
8
cmp
$i
y || error
"
$i
: mismatch"
9
done
10