aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/armsigs.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgp/armsigs.test')
-rwxr-xr-xtests/openpgp/armsigs.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/openpgp/armsigs.test b/tests/openpgp/armsigs.test
new file mode 100755
index 000000000..aecc06429
--- /dev/null
+++ b/tests/openpgp/armsigs.test
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+. $srcdir/defs.inc || exit 3
+
+#info Checking armored signatures
+for i in $plain_files $data_files ; do
+ echo "$usrpass1" | $GPG --passphrase-fd 0 -sa -o x --yes $i
+ $GPG -o y --yes x
+ cmp $i y || error "$i: mismatch"
+done
+