# # ChangeLog for test/mgstest in mod_gnutls # # Generated by Trac 1.2 # Feb 26, 2021, 5:20:53 PM Fri, 24 Apr 2020 18:08:26 GMT Krista Karppinen [ebbfb2b] * test/mgstest/ocsp.py (added) * test/tests/36_OCSP_server_nonce/hooks.py (modified) OCSP nonce test (36): verify nonce match Verify that the nonce got ... Tue, 07 Apr 2020 18:44:48 GMT Fiona Klute [b0695c6] * test/https-test-client.py (modified) * test/mgstest/tests.py (modified) * test/runtest.py (modified) Pass parsed YAML config to mgstest.tests.run_test_conf Parsing the ... Tue, 07 Apr 2020 18:27:05 GMT Fiona Klute [1a85a3d] * test/mgstest/tests.py (modified) mgstest.tests.TestConnection: Read environment variables at runtime ... Sat, 01 Feb 2020 15:47:34 GMT Fiona Klute [931da2d] * test/mgstest/services.py (modified) Get deeper stack traces from Valgrind Wed, 29 Jan 2020 12:47:05 GMT Fiona Klute [1d778ce] * test/mgstest/services.py (modified) Run Valgrind with "--gen-suppressions=all" This makes it easier to ... Wed, 29 Jan 2020 12:44:40 GMT Fiona Klute [cfb43fc] * test/mgstest/services.py (modified) Use Valgrind "-v" instead of "-s" for compatibility with Debian ... Tue, 28 Jan 2020 10:23:03 GMT Fiona Klute [d1d1e3a] * test/mgstest/services.py (modified) * test/suppressions.valgrind (modified) Valgrind tests: Use --keep-debuginfo=yes By default Valgrind drops ... Tue, 28 Jan 2020 09:14:05 GMT Fiona Klute [005b185] * test/Makefile.am (modified) * test/mgstest/valgrind.py (added) * test/runtest.py (modified) Fail tests running with Valgrind if Valgrind reports errors Tue, 28 Jan 2020 09:06:25 GMT Fiona Klute [e46d203] * test/mgstest/http.py (modified) * test/mgstest/services.py (modified) Update forgotten license headers Tue, 28 Jan 2020 08:37:37 GMT Fiona Klute [99c61f9] * configure.ac (modified) * test/Makefile.am (modified) * test/mgstest/services.py (modified) * test/runtest.py (modified) * test/suppressions.valgrind (added) * test/test-template.bash.in (modified) Add configure option --enable-valgrind-test to run tests with ... Sun, 26 Jan 2020 20:36:01 GMT Fiona Klute [c05b8c5] * test/mgstest/services.py (modified) TestService: Preserve the child process' return code Sun, 26 Jan 2020 18:42:14 GMT Fiona Klute [422eade] * test/mgstest/services.py (modified) Support optional timeout for TestService.wait() Sun, 26 Jan 2020 18:36:36 GMT Fiona Klute [264ab17] * test/mgstest/services.py (modified) mgstest.services: Remove code for handling forking services No ... Sun, 26 Jan 2020 18:23:49 GMT Fiona Klute [e2200db] * test/mgstest/services.py (modified) * test/runtest.py (modified) Test suite: Always run Apache with "-DFOREGROUND" This simplifies ... Sun, 26 Jan 2020 17:56:53 GMT Fiona Klute [72ebe64] * test/mgstest/services.py (modified) * test/runtest.py (modified) runtest.py: Support for running Apache with Valgrind Not used by ... Sat, 25 Jan 2020 11:26:19 GMT Fiona Klute [442c6a6] * test/mgstest/services.py (modified) Test suite: Detect Apache shutdown by PID file Wait for the PID ... Fri, 24 Jan 2020 21:22:21 GMT Fiona Klute [7543db4] * test/mgstest/tests.py (modified) Remove debug output of raw test connection config Thu, 23 Jan 2020 13:02:50 GMT Fiona Klute [4fe52e6] * test/mgstest/tests.py (modified) * test/tests/14_resume_session/test.yml (modified) Use gnutls-cli inline command to test TLS session resumption This ... Tue, 21 Jan 2020 19:21:16 GMT Fiona Klute [1c76ea7] * test/mgstest/tests.py (modified) mgstest.tests: Encode request body as utf-8 ... Tue, 14 Jan 2020 21:25:48 GMT Fiona Klute [407ca6e] * test/mgstest/tests.py (modified) TestRequest and TestReq10: Support request body This will allow ... Fri, 10 Jan 2020 22:03:13 GMT Fiona Klute [20a3915] * test/mgstest/softhsm.py (modified) mgstest.softhsm: Remove unnecessary import Thu, 09 Jan 2020 22:44:38 GMT Fiona Klute [b2546f0] * test/doctest-mgstest.py (modified) * test/mgstest/softhsm.py (modified) * test/softhsm-init.py (modified) mgstest.softhsm: Include type when searching object URLs The ... Thu, 09 Jan 2020 20:03:14 GMT Fiona Klute [ff039b1] * test/Makefile.am (modified) * test/mgstest/softhsm.py (added) * test/softhsm-init.py (added) * test/softhsm.bash (deleted) * test/test-24_pkcs11_cert.bash (modified) * test/test_ca.mk (modified) * test/tests/24_pkcs11_cert/hooks.py (added) * test/tests/Makefile.am (modified) Test suite: Replace softhsm.bash with Python code With this all ... Thu, 09 Jan 2020 16:43:02 GMT Fiona Klute [60ed7d1] * test/mgstest/hooks.py (modified) * test/runtest.py (modified) Allow the prepare_env hook to return a cleanup callback Thu, 09 Jan 2020 07:47:21 GMT Fiona Klute [573b810] * test/mgstest/services.py (modified) mgstest.services: Use pathlib and conditional expressions Just a ... Wed, 08 Jan 2020 22:06:31 GMT Fiona Klute [0f52d48] * test/mgstest/__init__.py (modified) * test/test-27_OCSP_server.bash (modified) * test/test-28_HTTP2_support.bash (modified) * test/test-34_TLS_reverse_proxy_h2.bash (modified) * test/tests/27_OCSP_server/hooks.py (modified) * test/tests/28_HTTP2_support/hooks.py (modified) * test/tests/34_TLS_reverse_proxy_h2/hooks.py (added) * test/tests/Makefile.am (modified) Switch most tests to hooks.py instead of preconditions in test ... Wed, 08 Jan 2020 20:32:30 GMT Fiona Klute [9a48691] * test/mgstest/hooks.py (modified) * test/runtest.py (modified) Test suite: Support checking preconditions in prepare_env hook The ... Wed, 08 Jan 2020 18:10:52 GMT Fiona Klute [8666b50] * test/mgstest/hooks.py (modified) * test/runtest.py (modified) * test/test-15_basic_msva.bash (modified) * test/tests/15_basic_msva/hooks.py (added) * test/tests/Makefile.am (modified) Implement "prepare_env" hook for tests Test 15_basic_msva uses it ... Tue, 07 Jan 2020 17:50:20 GMT Fiona Klute [b307cc1] * test/mgstest/http.py (modified) mgstest.http._stderr_writer: Always close input stream at EOS Fixes ... Sun, 05 Jan 2020 12:10:53 GMT Fiona Klute [5ea6c14] * test/mgstest/tests.py (modified) Clarify exception message for unexpected headers Using the ... Sun, 05 Jan 2020 10:43:41 GMT Fiona Klute [1fe7cac] * test/mgstest/tests.py (modified) * test/sample_fail.yml (modified) * test/sample_test.yml (modified) TestReq10: Handle expected and unexpected connection failure With ... Sun, 05 Jan 2020 08:54:18 GMT Fiona Klute [0b3733d] * test/mgstest/tests.py (modified) * test/sample_test.yml (modified) Test suite: Support checking absence of headers Sun, 05 Jan 2020 08:52:55 GMT Fiona Klute [bdf5917] * test/mgstest/tests.py (modified) TestReq10: Implement checking expected headers Sat, 04 Jan 2020 17:19:55 GMT Fiona Klute [bbc9b03] * test/README.md (modified) * test/mgstest/tests.py (modified) * test/sample_test.yml (modified) Detailed documentation on test.yml and mgstest.tests Sat, 04 Jan 2020 09:24:45 GMT Fiona Klute [3deb86e] * test/mgstest/__init__.py (modified) * test/mgstest/hooks.py (modified) * test/mgstest/http.py (modified) * test/mgstest/tests.py (modified) Reorganize imports, remove already done TODO Fri, 03 Jan 2020 11:06:54 GMT Fiona Klute [f7e47b5] * test/mgstest/tests.py (modified) Override yaml.YAMLObject.from_yaml() instead of adding constructors ... Fri, 03 Jan 2020 10:05:34 GMT Fiona Klute [0f65ea9] * test/mgstest/__init__.py (modified) * test/test-28_HTTP2_support.bash (modified) * test/tests/28_HTTP2_support/hooks.py (modified) Use post_check hook in 28_HTTP2_support Fri, 03 Jan 2020 09:21:05 GMT Fiona Klute [076049a] * test/mgstest/hooks.py (modified) Add forgotten license header Thu, 02 Jan 2020 21:51:45 GMT Fiona Klute [e971a2c] * test/README.md (modified) * test/mgstest/hooks.py (modified) Document supported test hooks Sat, 28 Dec 2019 11:32:02 GMT Fiona Klute [2d25c1c] * test/mgstest/__init__.py (modified) * test/test-16_view-status.bash (modified) * test/tests/16_view-status/hooks.py (added) Test 16_view-status: Use post_check hook for GnuTLS 3.6.11 ... Fri, 27 Dec 2019 20:21:04 GMT Fiona Klute [52636ee] * test/mgstest/tests.py (modified) * test/tests/33_vhost_SNI_serveralias_missinghost/test.yml (modified) TestReq10: Use superclass constructor and _from_yaml function This ... Fri, 27 Dec 2019 20:19:17 GMT Fiona Klute [7089dbc] * test/mgstest/tests.py (modified) * test/tests/33_vhost_SNI_serveralias_missinghost/test.yml (modified) Rename TestRaw10 to TestReq10 and adjust the YAML tag Fri, 27 Dec 2019 20:15:03 GMT Fiona Klute [6615d91] * test/mgstest/tests.py (modified) Use dynamic class constructor in _from_yaml classmethods This makes ... Fri, 27 Dec 2019 19:10:34 GMT Fiona Klute [3039495] * test/mgstest/tests.py (modified) Write TLS connection log for HTTP/1.0 requests to stdout Fri, 27 Dec 2019 17:40:51 GMT Fiona Klute [0909c92] * test/Makefile.am (modified) * test/apache_service.bash (deleted) * test/mgstest/hooks.py (added) * test/runtest.py (modified) * test/test-28_HTTP2_support.bash (modified) * test/tests/28_HTTP2_support/hooks.py (added) * test/tests/Makefile.am (modified) Add hooks system to the test runner With this all tests can use ... Thu, 26 Dec 2019 08:47:10 GMT Fiona Klute [05984a0] * test/Makefile.am (modified) * test/mgstest/services.py (added) * test/netns_py.bash (added) * test/newtest (modified) * test/runtest.py (added) * test/runtests (deleted) * test/test-00_basic.bash (modified) * test/test-01_serverwide_priorities.bash (modified) * test/test-02_cache_in_vhost.bash (modified) * test/test-03_cachetimeout_in_vhost.bash (modified) * test/test-04_basic_nosni.bash (modified) * test/test-05_mismatched-priorities.bash (modified) * test/test-06_verify_sni_a.bash (modified) * test/test-07_verify_sni_b.bash (modified) * test/test-08_verify_no_sni_fallback_to_first_vhost.bash (modified) * test/test-09_verify_no_sni_fails_with_wrong_order.bash (modified) * test/test-10_basic_client_verification.bash (modified) * test/test-11_basic_client_verification_fail.bash (modified) * test/test-12_cgi_variables.bash (modified) * test/test-13_cgi_variables_no_client_cert.bash (modified) * test/test-14_resume_session.bash (modified) * test/test-15_basic_msva.bash (modified) * test/test-16_view-status.bash (modified) * test/test-17_cgi_vars_large_cert.bash (modified) * test/test-18_client_verification_wrong_cert.bash (modified) * test/test-19_TLS_reverse_proxy.bash (modified) * test/test-20_TLS_reverse_proxy_client_auth.bash (modified) * test/test-21_TLS_reverse_proxy_wrong_cert.bash (modified) * test/test-22_TLS_reverse_proxy_crl_revoke.bash (modified) * test/test-23_TLS_reverse_proxy_mismatched_priorities.bash (modified) * test/test-24_pkcs11_cert.bash (modified) * test/test-25_Disable_TLS_1.0.bash (modified) * test/test-26_redirect_HTTP_to_HTTPS.bash (modified) * test/test-27_OCSP_server.bash (modified) * test/test-29_force_handshake_vhost.bash (modified) * test/test-30_ip_based_vhosts.bash (modified) * test/test-31_vhost_SNI_serveralias_match.bash (modified) * test/test-32_vhost_SNI_serveralias_mismatch.bash (modified) * test/test-33_vhost_SNI_serveralias_missinghost.bash (modified) * test/test-34_TLS_reverse_proxy_h2.bash (modified) Replace "runtests" with "runtest.py" This is the next step from ... Sat, 21 Dec 2019 17:15:42 GMT Fiona Klute [006f91a] * test/mgstest/http.py (modified) HTTPSubprocessConnection: Use stable API to access the default timeout Thu, 19 Dec 2019 12:11:17 GMT Fiona Klute [09774e2] * test/mgstest/tests.py (modified) Optionally log HTTP responses to another stream/file Thu, 19 Dec 2019 11:35:55 GMT Fiona Klute [45b0a24] * test/mgstest/tests.py (modified) TestRequest: Raise exception if expected connection reset didn't occur Thu, 19 Dec 2019 11:26:30 GMT Fiona Klute [d5c572b] * test/mgstest/__init__.py (modified) Use try/finally in lockfile context even when locking is disabled ... Wed, 18 Dec 2019 22:42:58 GMT Fiona Klute [3be92d3] * test/mgstest/http.py (modified) * test/mgstest/tests.py (modified) Optionally log gnutls-cli stderr output to another stream/file Wed, 18 Dec 2019 07:45:31 GMT Fiona Klute [779406c] * test/mgstest/tests.py (modified) Always log test connection number Thu, 12 Dec 2019 21:58:01 GMT Fiona Klute [b1261cb] * test/mgstest/__init__.py (modified) mgstest: Context manager for an optional file-based mutex This can ... Thu, 12 Dec 2019 17:43:45 GMT Fiona Klute [4459cdd] * test/mgstest/http.py (modified) HTTPSubprocessConnection: Handle subprocess stderr via a thread ... Thu, 12 Dec 2019 11:48:09 GMT Fiona Klute [c96a965] * test/https-test-client.py (modified) * test/mgstest/tests.py (modified) Create function to run a test config YAML file This is much more ... Thu, 12 Dec 2019 11:44:55 GMT Fiona Klute [b57d2c2] * test/mgstest/tests.py (modified) Connection reset can trigger BrokenPipeError first, catch if expected Sat, 07 Dec 2019 20:24:22 GMT Fiona Klute [3fbe087] * test/mgstest/tests.py (modified) Use os.set_blocking() instead of fiddling with file descriptor flags Sat, 07 Dec 2019 16:41:40 GMT Fiona Klute [eb84747] * test/https-test-client.py (modified) * test/mgstest/tests.py (modified) * test/tests/21_TLS_reverse_proxy_wrong_cert/test.yml (modified) * test/tests/26_redirect_HTTP_to_HTTPS/test.yml (modified) TestConnection: Add optional "description" attribute for logging Sat, 07 Dec 2019 16:22:36 GMT Fiona Klute [0e069b6] * configure.ac (modified) * test/mgstest/tests.py (modified) * test/test-26_redirect_HTTP_to_HTTPS.bash (modified) * test/tests/26_redirect_HTTP_to_HTTPS/test.yml (added) * test/tests/Makefile.am (modified) Support plain HTTP in the Python test framework This makes it ... Sat, 07 Dec 2019 15:46:02 GMT Fiona Klute [7054040] * test/mgstest/tests.py (modified) * test/sample_test.yml (modified) Support checking response headers Sat, 07 Dec 2019 14:48:25 GMT Fiona Klute [8b72599] * test/https-test-client.py (modified) * test/mgstest/tests.py (modified) https-test-client.py: Flush sys.stdout so connection output doesn't mix Sat, 07 Dec 2019 14:42:07 GMT Fiona Klute [e3e0de1] * test/https-test-client.py (modified) * test/mgstest/tests.py (modified) * test/runtests (modified) * test/tests/21_TLS_reverse_proxy_wrong_cert/test.yml (modified) https-test-client.py: Make host and port configurable per connection ... Fri, 06 Dec 2019 16:28:23 GMT Fiona Klute [f6d2721] * test/mgstest/http.py (modified) HTTPSubprocessConnection: Run filter in a thread instead of process ... Fri, 06 Dec 2019 16:10:38 GMT Fiona Klute [0560bb9] * test/mgstest/__init__.py (modified) * test/mgstest/http.py (modified) * test/mgstest/tests.py (modified) Add some documentation for the Python test modules Wed, 04 Dec 2019 19:37:12 GMT Fiona Klute [f9e13a5] * test/mgstest/tests.py (modified) mgstest.tests: Fix doctests for module structure Wed, 04 Dec 2019 17:57:11 GMT Fiona Klute [6d3dc34] * test/.gitignore (modified) * test/Makefile.am (modified) * test/https-test-client.py (modified) * test/mgstest/__init__.py (added) * test/mgstest/http.py (added) * test/mgstest/tests.py (added) Split infrastructure from https-test-client.py into modules