aboutsummaryrefslogtreecommitdiffstats
path: root/checks/detach.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/detach.test')
-rwxr-xr-xchecks/detach.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/checks/detach.test b/checks/detach.test
new file mode 100755
index 000000000..d9f44db12
--- /dev/null
+++ b/checks/detach.test
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. defs.inc || exit 3
+
+#info Checking detached signatures
+for i in $plain_files $data_files ; do
+ echo "$usrpass1" | run_gpg --passphrase-fd 0 -sb -o x --yes $i
+ run_gpg -o /dev/null --yes x <$i || error "$i: bad signature"
+done
+