1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-24 10:39:57 +01:00
NIIBE Yutaka 150d545231
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)
2019-03-07 10:50:17 +01:00
..
2017-04-06 14:31:54 +02:00
2008-02-22 15:47:18 +00:00
2008-02-22 15:47:18 +00:00
2008-04-15 15:57:39 +00:00
2017-04-06 15:20:43 +02:00
2017-04-28 10:06:33 +09:00
2008-02-22 15:47:18 +00:00

tests/pkits/README

These are tests based on NIST's Public Key Interoperability Test Suite
(PKITS) as downloaded on 2006-05-02 from
http://csrc.nist.gov/pki/testing/x509paths.html .

README             - this file.
PKITS_data.tar.bz2 - the original ZIP file, repackaged as a tarball.
Makefile.am        - Part of our build system.
import-all-certs   - Run a simple import test on all certificates
validate-all-certs - Run an import and validate test on all certificates
signature-verification         - PKITS test 4.1  
validity-periods               - PKITS test 4.2  
verifying-name-chaining        - PKITS test 4.3  
basic-certificate-revocation   - PKITS test 4.4  
verifying-paths-self-issued    - PKITS test 4.5  
verifying-basic-constraints    - PKITS test 4.6  
key-usage                      - PKITS test 4.7  
certificate-policies           - PKITS test 4.8  
require-explicit-policy        - PKITS test 4.9  
policy-mappings                - PKITS test 4.10 
inhibit-policy-mapping         - PKITS test 4.11 
inhibit-any-policy             - PKITS test 4.12 
name-constraints               - PKITS test 4.13 
distribution-points            - PKITS test 4.14 
delta-crls                     - PKITS test 4.15 
private-certificate-extensions - PKITS test 4.16 


The password for the p12 files is "password".

You may run the tests as usual with "make check" or after a plain make
in this directory you may run the tests individually.  When run in
this way they will print easy to parse output to stdout.  To run all
tests in this mode, use "make run-all-tests".  All test scripts create
a log file with the suffix ".log" appended to the test script's name.