tests: Improve the gpgconf test.
* tests/gpg/t-gpgconf.c: Include support functions. (fail_if_err): Remove macro. (init_gpgme): Remove function. (lookup): New function. (main): Update some values and verify that the changes are applied. * tests/gpg/t-support.h (test): New assert-like macro.
- GnuPG-bug-id: T2881
- Signed-off-by: Justus Winter <justus@g10code.com>