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