aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pkits
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-02-21 03:26:09 +0000
committerNIIBE Yutaka <[email protected]>2019-02-21 03:26:09 +0000
commit64b7c6fd1945bc206cf56979633dfca8a7494374 (patch)
treeb5a00e7ce36e5bd7b0eec41b0e9bfa8de22509ea /tests/pkits
parentagent: Terminate pinentry process gracefully, by watching socket. (diff)
downloadgnupg-64b7c6fd1945bc206cf56979633dfca8a7494374.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'tests/pkits')
-rwxr-xr-xtests/pkits/inittests1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pkits/inittests b/tests/pkits/inittests
index 4bff0a8b8..deb185439 100755
--- a/tests/pkits/inittests
+++ b/tests/pkits/inittests
@@ -94,6 +94,7 @@ EOF
# Fixme: we need to write a dummy pinentry program
cat > gpg-agent.conf <<EOF
no-grab
+disable-scdaemon
EOF
# Mark the root CA trusted