python: Fix test suite with GnuPG prior to 2.1.12.

* lang/python/tests/Makefile.am (gpg-agent.conf): Use
'allow-loopback-pinentry'.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-06-01 15:40:49 +02:00
parent 1607aa7fe5
commit bbf19124bb

View File

@ -94,4 +94,5 @@ $(top_srcdir)/tests/gpg/initial.test: check-local
./gpg-agent.conf:
# This is required for gpg2, which does not support command fd.
echo pinentry-program $(abs_top_srcdir)/tests/gpg/pinentry > ./gpg-agent.conf
echo pinentry-program $(abs_top_srcdir)/tests/gpg/pinentry >$@
echo allow-loopback-pinentry >>$@