1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/checks/encryptp.test
Werner Koch 94bf396a59 .
1998-09-14 10:33:57 +00:00

11 lines
234 B
Bash
Executable File

#!/bin/sh
. $srcdir/defs.inc || exit 3
#info Checking encryption with a pipe
for i in $plain_files $data_files ; do
./run-gpg -e --yes -r "$usrname2" <$i | tee yy | ./run-gpg --yes > y
cmp $i y || error "$i: mismatch"
done