1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-29 19:48:43 +01:00
gnupg/tests/pkits
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 64b7c6fd19)
2019-03-07 10:50:17 +01:00
..
basic-certificate-revocation Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
certificate-policies Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
common.sh tests: Disable 'pkits' test suite. 2017-04-06 14:31:54 +02:00
delta-crls Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
distribution-points Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
import-all-certs Add some tests. 2008-02-22 15:47:18 +00:00
import-all-certs.data Add some tests. 2008-02-22 15:47:18 +00:00
inhibit-any-policy Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
inhibit-policy-mapping Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
inittests tests: Add "disable-scdaemon" in gpg-agent.conf. 2019-03-07 10:50:17 +01:00
key-usage Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
Makefile.am tests: Fix distcheck. 2017-04-06 15:20:43 +02:00
name-constraints Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
PKITS_data.tar.bz2 Repackaged PKITS_data.tar.bz2 2006-05-02 08:19:59 +00:00
PKITS.pdf We better save the description of PKITS along with the test data. 2008-02-18 14:31:46 +00:00
policy-mappings Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
private-certificate-extensions Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
README Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
require-explicit-policy Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
runtest * import.c (check_and_store): Do a full validation if 2004-08-17 15:26:22 +00:00
signature-verification Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
validate-all-certs Add some tests. 2008-02-22 15:47:18 +00:00
validity-periods Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
verifying-basic-constraints Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
verifying-name-chaining Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
verifying-paths-self-issued Add executable flag to test scripts. 2008-04-15 15:57:39 +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.