summaryrefslogtreecommitdiff
path: root/checks/seat.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/seat.test')
-rwxr-xr-xchecks/seat.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/seat.test b/checks/seat.test
new file mode 100755
index 0000000..72ab27f
--- /dev/null
+++ b/checks/seat.test
@@ -0,0 +1,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
+