diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2019-02-21 04:26:09 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2019-02-21 04:26:09 +0100 |
commit | 64b7c6fd1945bc206cf56979633dfca8a7494374 (patch) | |
tree | b5a00e7ce36e5bd7b0eec41b0e9bfa8de22509ea /tests/gpgme | |
parent | agent: Terminate pinentry process gracefully, by watching socket. (diff) | |
download | gnupg2-64b7c6fd1945bc206cf56979633dfca8a7494374.tar.xz gnupg2-64b7c6fd1945bc206cf56979633dfca8a7494374.zip |
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>
Diffstat (limited to 'tests/gpgme')
-rw-r--r-- | tests/gpgme/gpgme-defs.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gpgme/gpgme-defs.scm b/tests/gpgme/gpgme-defs.scm index 0de589ffe..bc40b3c76 100644 --- a/tests/gpgme/gpgme-defs.scm +++ b/tests/gpgme/gpgme-defs.scm @@ -67,8 +67,7 @@ (create-file "gpg-agent.conf" (string-append "pinentry-program " (tool 'pinentry)) - (string-append "scdaemon-program " (tool 'scdaemon)) - ) + "disable-scdaemon") (start-agent) |