Home GnuPG
Diffusion GPGME 9a31fdcb11d0

tests,json: Add wildcard string matching

Description

tests,json: Add wildcard string matching

* tests/json/t-json.c (test_contains): When searching for "*" accept
every string.

This allows it to write tests that check for the existence of
a string value but don't care about the contents. E.g. for Data.

Details

Provenance
aheineckeAuthored on Nov 14 2018, 2:57 PM
Parents
rMe55e467d5ffb: tests,json: Skip tests for older GnuPG versions
Branches
Unknown
Tags
Unknown