1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 399ebf6d87
build: Prepare for using installed versions for tests.
* tests/gpgconf.ctl.in: New.
* tests/Makefile.am (EXTRA_DIST): Add new file.
(TESTINST_DIRS): New.
(clean-local): New.
(clean-local-testinst): New.
(check-recursive): New hook.
(bin/gpgconf.ctl): Run a test install.
* tests/cms/Makefile.am (TESTS_ENVIRONMENT): Set new envvar
GNUPG_BUILD_ROOT.
* tests/gpgme/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/openpgp/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/pkits/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/tpm2dtests/Makefile.am (TESTS_ENVIRONMENT): Ditto.
--

Right now this helps only with the global configuraion dir which is
now not set and thus the build host'ss own /etc/gnupg does not anymore
affect the build.

Signed-off-by: Werner Koch <wk@gnupg.org>
2021-10-01 14:46:16 +02: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-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.