tests: Add "disable-scdaemon" in gpg-agent.conf.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 21 Feb 2019 03:26:09 +0000 (12:26 +0900)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commit5e63fd01ba3b44fa27507fe8cc579c325870cb64
treeffcea7f18c1a185409d4a40e8a8cb5ade9a772c7
parentb5b27a797eaf9fd95dd1b7920b7b34ace080a2b1
tests: Add "disable-scdaemon" in gpg-agent.conf.

* tests/openpgp/defs.scm: Add "disable-scdaemon".  Remove
  "scdaemon-program".
* tests/gpgme/gpgme-defs.scm, tests/gpgsm/gpgsm-defs.scm: Likewise.
* tests/inittests, tests/pkits/inittests: Add "disable-scdaemon"

--

Before this change, running "make check" accesses USB device by
scdaemon on host computer.  If there is any smartcard/token available,
it may affect test results.  Because default key choice depends on
smartcard/token availability now and existing tests have nothing about
testing smartcard/token, disabling scdaemon is good.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(cherry picked from commit 64b7c6fd1945bc206cf56979633dfca8a7494374)
(cherry picked from commit 150d5452318eafa6aa800ff3b87f8f8eb35ed203)

Gbp-Pq: Topic from-2.2.14
Gbp-Pq: Name tests-Add-disable-scdaemon-in-gpg-agent.conf.patch
tests/gpgme/gpgme-defs.scm
tests/gpgsm/gpgsm-defs.scm
tests/inittests
tests/openpgp/defs.scm
tests/pkits/inittests