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>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commiteec2c900486612d4a3e7ec51517ec8ffdd06f49c
tree872221781517c762fde6099d96c082707ff8f015
parent890f5cc74c613cb617c0d9120f2b2551a63b2820
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