aboutsummaryrefslogtreecommitdiffstats
path: root/checks/seat.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/seat.test')
-rwxr-xr-xchecks/seat.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/checks/seat.test b/checks/seat.test
new file mode 100755
index 000000000..7e95b8bd8
--- /dev/null
+++ b/checks/seat.test
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. defs.inc || exit 3
+
+for i in $plain_files ; do
+ echo "$usrpass1" | ./run-gpg --passphrase-fd 0 -seat -r two -o x --yes $i
+ ./run-gpg -o y --yes x
+ cmp $i y || error "$i: mismatch"
+done
+