python: Fix test suite with GnuPG prior to 2.1.12.
authorJustus Winter <justus@g10code.com>
Wed, 1 Jun 2016 13:40:49 +0000 (15:40 +0200)
committerJustus Winter <justus@g10code.com>
Wed, 1 Jun 2016 13:40:49 +0000 (15:40 +0200)
* lang/python/tests/Makefile.am (gpg-agent.conf): Use
'allow-loopback-pinentry'.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/tests/Makefile.am

index b85e82e..12db3a5 100644 (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 >>$@