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