summaryrefslogtreecommitdiffstats
path: root/checks/armencrypt.test
blob: cade9dde4ebd97ecfb1f0707e28d456fb5a6b004 (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
    $srcdir/run-gpg -ea -o x --yes -r "$usrname2" $i
    $srcdir/run-gpg -o y --yes x
    cmp $i y || error "$i: mismatch"
done