tests: Add another check to gpg/t-verify.
authorWerner Koch <wk@gnupg.org>
Thu, 12 Apr 2018 13:39:20 +0000 (15:39 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 12 Apr 2018 13:39:20 +0000 (15:39 +0200)
commitbdf7cd2e28432cf0fa7e0758acdfee03d7bfd45f
tree4838124195e4499792dffa86fcd5a6b1a10cf50c
parentf7700a016926f0d8e9cb3c0337837deb7fe01079
tests: Add another check to gpg/t-verify.

* tests/gpg/t-verify.c (PGM): New.  Use it instead of __FILE__.
(test_sig1_plus_unknown_key): New test signature.
(check_result): Allow checking of several signatures.
(main): Check a signature with a know and an unknown key.

Signed-off-by: Werner Koch <wk@gnupg.org>
tests/gpg/t-verify.c