gnupg/checks/seat.test

11 lines
228 B
Bash
Executable File

#!/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