tests: Fix using tools from the build directory.
authorJustus Winter <justus@g10code.com>
Wed, 15 Mar 2017 13:36:27 +0000 (14:36 +0100)
committerJustus Winter <justus@g10code.com>
Wed, 15 Mar 2017 13:36:27 +0000 (14:36 +0100)
commita98459d3f4ec3d196fb0adb0e90dadf40abc8c81
tree617e7fcecb37149591dd4aad842c97de780b3582
parentc7833eca38fdb8d9ba7b59438ea87d651b8bf7ba
tests: Fix using tools from the build directory.

* tests/openpgp/defs.scm (gpg-conf'): Explicitly pass the build prefix
to gpgconf here...
(gpg-components): ... instead of only here.
--

Previously, gpgconf was not invoked with '--build-prefix' when
changing the configuration.  This made tests using this facility fail
(e.g. the TOFU test).  This only affected release builds, because in
development builds gpgconf picks up the build prefix from the
environment.

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