Changeset 21cd807 in mod_gnutls
- Timestamp:
- Aug 27, 2020, 5:44:23 PM (2 years ago)
- Branches:
- asyncio, master
- Children:
- d17866f
- Parents:
- 0c963e8
- Files:
-
- 4 edited
- 40 moved
Legend:
- Unmodified
- Added
- Removed
-
test/Makefile.am
r0c963e8 r21cd807 285 285 286 286 # Documentation for the test system 287 test_doc = README.md sample_fail.y ml sample_test.yml287 test_doc = README.md sample_fail.yaml sample_test.yaml 288 288 289 289 EXTRA_DIST += $(apache_data) $(cert_templates) $(shared_identities:=/uid.in) \ -
test/README.md
r0c963e8 r21cd807 67 67 * `apache.conf` -- Apache configuration to be used 68 68 69 * `test.y ml` -- Defines the client connection(s) including parameters69 * `test.yaml` -- Defines the client connection(s) including parameters 70 70 for `gnutls-cli`, the request(s), and expected response(s). Please 71 71 see the module documentation of [mgstest.tests](./mgstest/tests.py) 72 for details, and [`sample_test.y ml`](./sample_test.yml) and73 [`sample_fail.y ml`](./sample_fail.yml) for examples.72 for details, and [`sample_test.yaml`](./sample_test.yaml) and 73 [`sample_fail.yaml`](./sample_fail.yaml) for examples. 74 74 75 75 * `backend.conf` [optional] -- Apache configuration for the proxy -
test/runtest.py
r0c963e8 r21cd807 103 103 # Load test config 104 104 try: 105 with open(os.path.join(testdir, 'test.y ml'), 'r') as conf_file:105 with open(os.path.join(testdir, 'test.yaml'), 'r') as conf_file: 106 106 test_conf = yaml.load(conf_file, Loader=yaml.Loader) 107 107 except FileNotFoundError: -
test/tests/Makefile.am
r0c963e8 r21cd807 1 1 EXTRA_DIST = \ 2 00_basic/apache.conf 00_basic/test.y ml \3 01_priorities_config/apache.conf 01_priorities_config/test.y ml \4 02_cache_in_vhost/apache.conf 02_cache_in_vhost/fail.server 02_cache_in_vhost/test.y ml \5 03_cachetimeout_in_vhost/apache.conf 03_cachetimeout_in_vhost/test.y ml \6 04_basic_nosni/apache.conf 04_basic_nosni/test.y ml \7 06_verify_sni_a/apache.conf 06_verify_sni_a/test.y ml \8 07_verify_sni_b/apache.conf 07_verify_sni_b/test.y ml \9 08_verify_no_sni_fallback_to_first_vhost/apache.conf 08_verify_no_sni_fallback_to_first_vhost/test.y ml \10 09_verify_no_sni_fails_with_wrong_order/apache.conf 09_verify_no_sni_fails_with_wrong_order/test.y ml \11 10_basic_client_verification/apache.conf 10_basic_client_verification/test.y ml \12 11_basic_client_verification_fail/apache.conf 11_basic_client_verification_fail/test.y ml \13 12_cgi_variables/apache.conf 12_cgi_variables/test.y ml \14 13_cgi_variables_no_client_cert/apache.conf 13_cgi_variables_no_client_cert/test.y ml \15 14_resume_session/apache.conf 14_resume_session/hooks.py 14_resume_session/test.y ml \16 15_basic_msva/apache.conf 15_basic_msva/hooks.py 15_basic_msva/test.y ml \17 16_view-status/apache.conf 16_view-status/test.y ml \18 17_cgi_vars_large_cert/apache.conf 17_cgi_vars_large_cert/test.y ml \19 18_client_verification_wrong_cert/apache.conf 18_client_verification_wrong_cert/test.y ml \20 19_TLS_reverse_proxy/apache.conf 19_TLS_reverse_proxy/backend.conf 19_TLS_reverse_proxy/test.y ml \21 20_TLS_reverse_proxy_client_auth/apache.conf 20_TLS_reverse_proxy_client_auth/backend.conf 20_TLS_reverse_proxy_client_auth/test.y ml \22 21_TLS_reverse_proxy_wrong_cert/apache.conf 21_TLS_reverse_proxy_wrong_cert/backend.conf 21_TLS_reverse_proxy_wrong_cert/test.y ml \23 22_TLS_reverse_proxy_crl_revoke/apache.conf 22_TLS_reverse_proxy_crl_revoke/backend.conf 22_TLS_reverse_proxy_crl_revoke/test.y ml \24 23_TLS_reverse_proxy_mismatched_priorities/apache.conf 23_TLS_reverse_proxy_mismatched_priorities/backend.conf 23_TLS_reverse_proxy_mismatched_priorities/test.y ml \25 24_pkcs11_cert/apache.conf 24_pkcs11_cert/hooks.py 24_pkcs11_cert/test.y ml \26 25_Disable_TLS_1.0/apache.conf 25_Disable_TLS_1.0/test.y ml \27 26_redirect_HTTP_to_HTTPS/apache.conf 26_redirect_HTTP_to_HTTPS/test.y ml \28 27_OCSP_server/apache.conf 27_OCSP_server/hooks.py 27_OCSP_server/ocsp.conf 27_OCSP_server/test.y ml \2 00_basic/apache.conf 00_basic/test.yaml \ 3 01_priorities_config/apache.conf 01_priorities_config/test.yaml \ 4 02_cache_in_vhost/apache.conf 02_cache_in_vhost/fail.server 02_cache_in_vhost/test.yaml \ 5 03_cachetimeout_in_vhost/apache.conf 03_cachetimeout_in_vhost/test.yaml \ 6 04_basic_nosni/apache.conf 04_basic_nosni/test.yaml \ 7 06_verify_sni_a/apache.conf 06_verify_sni_a/test.yaml \ 8 07_verify_sni_b/apache.conf 07_verify_sni_b/test.yaml \ 9 08_verify_no_sni_fallback_to_first_vhost/apache.conf 08_verify_no_sni_fallback_to_first_vhost/test.yaml \ 10 09_verify_no_sni_fails_with_wrong_order/apache.conf 09_verify_no_sni_fails_with_wrong_order/test.yaml \ 11 10_basic_client_verification/apache.conf 10_basic_client_verification/test.yaml \ 12 11_basic_client_verification_fail/apache.conf 11_basic_client_verification_fail/test.yaml \ 13 12_cgi_variables/apache.conf 12_cgi_variables/test.yaml \ 14 13_cgi_variables_no_client_cert/apache.conf 13_cgi_variables_no_client_cert/test.yaml \ 15 14_resume_session/apache.conf 14_resume_session/hooks.py 14_resume_session/test.yaml \ 16 15_basic_msva/apache.conf 15_basic_msva/hooks.py 15_basic_msva/test.yaml \ 17 16_view-status/apache.conf 16_view-status/test.yaml \ 18 17_cgi_vars_large_cert/apache.conf 17_cgi_vars_large_cert/test.yaml \ 19 18_client_verification_wrong_cert/apache.conf 18_client_verification_wrong_cert/test.yaml \ 20 19_TLS_reverse_proxy/apache.conf 19_TLS_reverse_proxy/backend.conf 19_TLS_reverse_proxy/test.yaml \ 21 20_TLS_reverse_proxy_client_auth/apache.conf 20_TLS_reverse_proxy_client_auth/backend.conf 20_TLS_reverse_proxy_client_auth/test.yaml \ 22 21_TLS_reverse_proxy_wrong_cert/apache.conf 21_TLS_reverse_proxy_wrong_cert/backend.conf 21_TLS_reverse_proxy_wrong_cert/test.yaml \ 23 22_TLS_reverse_proxy_crl_revoke/apache.conf 22_TLS_reverse_proxy_crl_revoke/backend.conf 22_TLS_reverse_proxy_crl_revoke/test.yaml \ 24 23_TLS_reverse_proxy_mismatched_priorities/apache.conf 23_TLS_reverse_proxy_mismatched_priorities/backend.conf 23_TLS_reverse_proxy_mismatched_priorities/test.yaml \ 25 24_pkcs11_cert/apache.conf 24_pkcs11_cert/hooks.py 24_pkcs11_cert/test.yaml \ 26 25_Disable_TLS_1.0/apache.conf 25_Disable_TLS_1.0/test.yaml \ 27 26_redirect_HTTP_to_HTTPS/apache.conf 26_redirect_HTTP_to_HTTPS/test.yaml \ 28 27_OCSP_server/apache.conf 27_OCSP_server/hooks.py 27_OCSP_server/ocsp.conf 27_OCSP_server/test.yaml \ 29 29 28_HTTP2_support/apache.conf 28_HTTP2_support/hooks.py \ 30 29_force_handshake_vhost/apache.conf 29_force_handshake_vhost/test.y ml \31 30_ip_based_vhosts/apache.conf 30_ip_based_vhosts/hooks.py 30_ip_based_vhosts/test.y ml \32 31_vhost_SNI_serveralias_match/apache.conf 31_vhost_SNI_serveralias_match/test.y ml \33 32_vhost_SNI_serveralias_mismatch/apache.conf 32_vhost_SNI_serveralias_mismatch/test.y ml \34 33_vhost_SNI_serveralias_missinghost/apache.conf 33_vhost_SNI_serveralias_missinghost/test.y ml \35 34_TLS_reverse_proxy_h2/apache.conf 34_TLS_reverse_proxy_h2/hooks.py 34_TLS_reverse_proxy_h2/backend.conf 34_TLS_reverse_proxy_h2/test.y ml \36 35_client_reauth/apache.conf 35_client_reauth/test.y ml \37 36_OCSP_server_nonce/apache.conf 36_OCSP_server_nonce/hooks.py 36_OCSP_server_nonce/ocsp.conf 36_OCSP_server_nonce/test.y ml \38 37_TLS_reverse_proxy_resume_session/apache.conf 37_TLS_reverse_proxy_resume_session/backend.conf 37_TLS_reverse_proxy_resume_session/hooks.py 37_TLS_reverse_proxy_resume_session/test.y ml30 29_force_handshake_vhost/apache.conf 29_force_handshake_vhost/test.yaml \ 31 30_ip_based_vhosts/apache.conf 30_ip_based_vhosts/hooks.py 30_ip_based_vhosts/test.yaml \ 32 31_vhost_SNI_serveralias_match/apache.conf 31_vhost_SNI_serveralias_match/test.yaml \ 33 32_vhost_SNI_serveralias_mismatch/apache.conf 32_vhost_SNI_serveralias_mismatch/test.yaml \ 34 33_vhost_SNI_serveralias_missinghost/apache.conf 33_vhost_SNI_serveralias_missinghost/test.yaml \ 35 34_TLS_reverse_proxy_h2/apache.conf 34_TLS_reverse_proxy_h2/hooks.py 34_TLS_reverse_proxy_h2/backend.conf 34_TLS_reverse_proxy_h2/test.yaml \ 36 35_client_reauth/apache.conf 35_client_reauth/test.yaml \ 37 36_OCSP_server_nonce/apache.conf 36_OCSP_server_nonce/hooks.py 36_OCSP_server_nonce/ocsp.conf 36_OCSP_server_nonce/test.yaml \ 38 37_TLS_reverse_proxy_resume_session/apache.conf 37_TLS_reverse_proxy_resume_session/backend.conf 37_TLS_reverse_proxy_resume_session/hooks.py 37_TLS_reverse_proxy_resume_session/test.yaml
Note: See TracChangeset
for help on using the changeset viewer.