aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/seat.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgp/seat.scm')
-rwxr-xr-xtests/openpgp/seat.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/openpgp/seat.scm b/tests/openpgp/seat.scm
new file mode 100755
index 000000000..50887a1ce
--- /dev/null
+++ b/tests/openpgp/seat.scm
@@ -0,0 +1,13 @@
+#!/usr/bin/env gpgscm
+
+(load (with-path "defs.scm"))
+
+(for-each-p
+ "Checking encryption, signing, and producing armored output"
+ (lambda (source)
+ (tr:do
+ (tr:open source)
+ (tr:gpg usrpass1 '(--yes -seat -r [email protected] --passphrase-fd "0"))
+ (tr:gpg "" '(--yes))
+ (tr:assert-weak-identity source)))
+ plain-files)