tests: Configure the environments to use scdaemon from build tree.
authorJustus Winter <justus@g10code.com>
Tue, 16 May 2017 14:07:25 +0000 (16:07 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 16 May 2017 14:07:25 +0000 (16:07 +0200)
commit386a7bbb245dd3ab7c4156a554adbe75d82bdf49
tree58d3c6a0e0a4b42f1f2d19ba2cc909428c45d2a8
parent99e68350a8a94b98a0864d858720859196168a6f
tests: Configure the environments to use scdaemon from build tree.

* tests/gpgme/gpgme-defs.scm: Use the scdaemon from the build tree
when writing a 'gpg-agent.conf'.
* tests/gpgsm/gpgsm-defs.scm: Likewise.
* tests/openpgp/defs.scm: Likewise.
--

As of 97a2394ecafaa6f58e4a1f70ecfd04408dc15606 gpg may query the
scdaemon for a signing key to use.  To make sure that the agent calls
the right scdaemon, we provide the path explicitly in the
'gpg-agent.conf' that is used in the tests, similar to what we do for
the agent itself and the pinentry.

GnuPG-bug-id: 3165
Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgme/gpgme-defs.scm
tests/gpgsm/gpgsm-defs.scm
tests/openpgp/defs.scm