1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-31 20:08:43 +01:00
gnupg/tests/pkits
Werner Koch bcd5feec0e
tests: New way to make use of gpgconf.ctl in tests.
* Makefile.am (all-local): New to setup symlinks.
(distclean-local): New.
* tests/Makefile.am: Remove the gpgconf related targets.  Just keep
gpgconf.ctl.in in EXTRA_DIST
* tests/cms/Makefile.am (GNUPG_BUILD_ROOT):
* tests/gpgme/Makefile.am (GPGSCM_PATH):
* tests/openpgp/Makefile.am (GNUPG_BUILD_ROOT):
* tests/pkits/Makefile.am (GNUPG_BUILD_ROOT):
* tests/tpm2dtests/defs.scm (tools): Revert to the former values.
* tests/openpgp/defs.scm (tools): Ditto.
--

This
Fixes-commit: 399ebf6d87
Fixes-commit: 84fcd8e6eb
because we ran into problems with the idea of first doing a
test-install for the checks.  "make distcheck" turned out to
be too problematic.  Symlinks are a better way of doing this.
Also fixes
GnuPG-bug-id: 5634
2021-10-12 14:30:13 +02: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-02-21 12:26:09 +09:00
key-usage Add executable flag to test scripts. 2008-04-15 15:57:39 +00:00
Makefile.am tests: New way to make use of gpgconf.ctl in tests. 2021-10-12 14:30:13 +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.