tests: Use 'gpg-agent --allow-loopback-pinentry' if applicable.
* lang/python/tests/Makefile.am (gpg-agent.conf): Do not hard-code the option. This breaks gpg-agent from GnuPG 2.0. * tests/start-stop-agent: Rather, check if the option is supported and add it to the configuration if it is.
- GnuPG-bug-id: T3008
- Fixes-commit: bbf19124bbec9eb6298cef2914baae7ac74382fe
- Signed-off-by: Justus Winter <justus@g10code.com>