* configure.ac: Fix resolver autoconf code so it works (fails)
[gnupg.git] / checks / armencryptp.test
blobd18c56b7e22c1f2979f08d39aa01c0256556eda4
1 #!/bin/sh
3 . $srcdir/defs.inc || exit 3
5 #info Checking armored encryption with a pipe
6 for i in $plain_files $data_files ; do
7 $GPG --always-trust -ea --yes -r "$usrname2" < $i | tee x | $GPG -o y --yes
8 cmp $i y || error "$i: mismatch"
9 $GPG --yes < x > y
10 cmp $i y || error "$i: mismatch"
11 done