aboutsummaryrefslogtreecommitdiffstats
path: root/tests/json
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2026-05-15 09:45:08 +0200
committerNIIBE Yutaka <[email protected]>2026-05-15 09:45:08 +0200
commit45ccb2fa0ee4613a5327a8d7cddd060be4fbeec1 (patch)
tree109da59c55810609d5a7d453adffde4b28953b96 /tests/json
parentw32:tests: Fix Makefiles and start-stop-agent for EXEEXT. (diff)
downloadgpgme-45ccb2fa0ee4613a5327a8d7cddd060be4fbeec1.tar.gz
gpgme-45ccb2fa0ee4613a5327a8d7cddd060be4fbeec1.zip
w32:tests: Use pinentry executable instead of script.
* tests/gpg/pinentry: Remove. * tests/gpg/pinentry.c: New. * tests/gpg/Makefile.am (EXTRA_DIST): Remove pinentry script. (noinst_PROGRAMS): Add pinentry executable and its rules to build. * tests/json/Makefile.am (gpg-agent.conf): Use pinentry executable. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/json')
-rw-r--r--tests/json/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json/Makefile.am b/tests/json/Makefile.am
index 5f34b849..863b0683 100644
--- a/tests/json/Makefile.am
+++ b/tests/json/Makefile.am
@@ -110,7 +110,7 @@ gpg-agent.conf:
# This is required for gpg2, which does not support command fd for the
# passphrase. disable-scdaemon is required so that we don't try using
# a key from a smartcard reader (error might be: Unusable secret key)
- echo pinentry-program $(abs_srcdir)/../gpg/pinentry > ./gpg-agent.conf
+ echo pinentry-program $(abs_builddir)/../gpg/pinentry$(EXEEXT) > ./gpg-agent.conf
echo disable-scdaemon >> ./gpg-agent.conf