aboutsummaryrefslogtreecommitdiffstats
path: root/checks/verify.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/verify.test')
-rwxr-xr-xchecks/verify.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/verify.test b/checks/verify.test
new file mode 100755
index 000000000..af93f3d79
--- /dev/null
+++ b/checks/verify.test
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+. $srcdir/defs.inc || exit 3
+
+#info check that verify fails for bad input data
+../tools/mk-tdata --char 0x2d 64 >x
+$GPG --verify x data-500 && error "no error code from verify"
+../tools/mk-tdata --char 0xca 64 >x
+$GPG --verify x data-500 && error "no error code from verify"
+
+exit 0