aboutsummaryrefslogtreecommitdiffstats
path: root/checks/encryptp.test
blob: b0af2c626ce52ad059720240a0b384690e46c614 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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