aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-01 13:40:49 +0000
committerJustus Winter <[email protected]>2016-06-01 13:40:49 +0000
commitbbf19124bbec9eb6298cef2914baae7ac74382fe (patch)
tree5749f0e44bf6f4ee7f7df4da69256258a3b83fb8 /lang/python/tests
parentpython: Make Python detection more robust. (diff)
downloadgpgme-bbf19124bbec9eb6298cef2914baae7ac74382fe.tar.gz
gpgme-bbf19124bbec9eb6298cef2914baae7ac74382fe.zip
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 <[email protected]>
Diffstat (limited to 'lang/python/tests')
-rw-r--r--lang/python/tests/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index b85e82e3..12db3a57 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -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 >>$@