Home GnuPG
Diffusion GPGME 5b61c092e744

tests,gpg: Add version check hlp to t-support

Description

tests,gpg: Add version check hlp to t-support

* t-support.h (parse_version_number, parse_version_string)
(compare_versions): New. Copy&Paste from src/version.c
(check_gpg_version): New helper to check for a gpg version.

This should make it easier to write tests that e.g.
rely on modern gnupg features.

Details

Provenance
aheineckeAuthored on Nov 14 2018, 2:50 PM
Parents
rM9933641cce59: tests,json: Improve verbose mode and add verbose 2
Branches
Unknown
Tags
Unknown