aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/armdetachm.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgp/armdetachm.test')
-rwxr-xr-xtests/openpgp/armdetachm.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/openpgp/armdetachm.test b/tests/openpgp/armdetachm.test
new file mode 100755
index 000000000..f1958424c
--- /dev/null
+++ b/tests/openpgp/armdetachm.test
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+. $srcdir/defs.inc || exit 3
+
+#info Checking armored detached signatures of multiple files
+i="$plain_files $data_files"
+echo "$usrpass1" | $GPG --passphrase-fd 0 -sab -o x --yes $i
+cat $i | $GPG -o /dev/null --yes x || error "$i: bad signature"
+