aboutsummaryrefslogtreecommitdiffstats
path: root/checks/verify.test
blob: af93f3d79068561aff36cb420e5596e28006c629 (plain)
1
2
3
4
5
6
7
8
9
10
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