summaryrefslogtreecommitdiff
path: root/checks/armsigs.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/armsigs.test')
-rwxr-xr-xchecks/armsigs.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/armsigs.test b/checks/armsigs.test
new file mode 100755
index 0000000..aecc064
--- /dev/null
+++ b/checks/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
+