summaryrefslogtreecommitdiffstats
path: root/checks/armencrypt.test
blob: 48c60a8b845ad9227ed6fbe90e16c119b7f08b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

. $srcdir/defs.inc || exit 3

#info Checking armored encryption
for i in $plain_files $data_files ; do
    ./run-gpg -ea -o x --yes -r "$usrname2" $i
    ./run-gpg -o y --yes x
    cmp $i y || error "$i: mismatch"
done