summaryrefslogtreecommitdiffstats
path: root/tests/openpgp/seat.test
blob: 72ab27f41a38e3159858153a1cd5c2a1ebf12fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

. $srcdir/defs.inc || exit 3

for i in $plain_files ; do
    echo "$usrpass1" | $GPG --passphrase-fd 0 --always-trust -seat \
                        -r two -o x --yes $i
    $GPG -o y --yes x
    cmp $i y || error "$i: mismatch"
done