2006-05-22 Marcus Brinkmann <marcus@g10code.de>
[gnupg.git] / checks / encryptp.test
blob7df24efec30e111231f014705385ee7b3e0c23e7
1 #!/bin/sh
3 . $srcdir/defs.inc || exit 3
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