diff options
Diffstat (limited to 'tests/openpgp/encryptp.test')
-rwxr-xr-x | tests/openpgp/encryptp.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/openpgp/encryptp.test b/tests/openpgp/encryptp.test new file mode 100755 index 000000000..7df24efec --- /dev/null +++ b/tests/openpgp/encryptp.test @@ -0,0 +1,10 @@ +#!/bin/sh + +. $srcdir/defs.inc || exit 3 + +#info Checking encryption with a pipe +for i in $plain_files $data_files ; do + $GPG --always-trust -e --yes -r "$usrname2" <$i | $GPG --yes > y + cmp $i y || error "$i: mismatch" +done + |