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

. $srcdir/defs.inc || exit 3

for i in $plain_files ; do
    echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 -seat -r two -o x --yes $i
    $srcdir/run-gpg -o y --yes x
    cmp $i y || error "$i: mismatch"
done