Changes for version 0.30 - 2022-05-13

  • bugfix: reserved ports for stream_server_config.
  • feature: expanded environment values in --- tcp_listen section.
  • bugfix: user name with dash was not allowed, eg like 'www-data'. thanks lijunlong for the patch.
  • bugfix: there can be trailing spaces in HTTP 0.9.
  • feature: add TEST_NGINX_FAST_SHUTDOWN to stop Nginx without graceful. thanks spacewander for the patch.
  • bugfix: supported to parse http trailer in response body. thanks Yuansheng for the patch.
  • change: quic use keepalive_timeout instead of quic_max_idle_timeout now. thanks lijunlong for the patch.
  • bugfix: did not skip test cases that proxy_pass or directly connect to request server port. thanks lijunlong for the patch.
  • bugfix: should not change config line number for old test cases. thanks lijunlong for the patch.
  • bugfix: curl request was sent before nginx startup when running in valgrind mode. thanks lijunlong for the patch.
  • bugifx: waitpid failed when the process is not subprocess of perl. thanks lijunlong for the patch.
  • bugfix: nginx reload hangs when http3 is enabled. thanks lijunlong for the patch.
  • feature: support HTTP/3 testing. thanks lijunlong for the patch.
  • feature: added new section "--- no_access_log" which could be used to specify patterns of lines that do not appear in access.log at all. thanks levy001 for the patch.
  • bugfix: allow capture OpenSSL version without letter. thanks Wangchong Zhou for the patch.
  • feature: check if grep_error_log is defined when grep_error_log_out exists. thanks spacewander for the patch.
  • feature: add '--- curl_options' and '--- curl_protocol' section. thanks woodgear for the patch.
  • feature: added file name to name of the test case. thanks lijunlong for the patch.
  • feature: support FIRST to mark the beginning of test. thanks spacewander for the patch.
  • bugfix: perl did not exit when kill process with SIGKILL. thanks lijunlong for the patch.

Modules

Data-driven test scaffold for Nginx C module and Nginx/OpenResty-based libraries and applications
LWP-backed test scaffold for the Nginx C modules
Socket-backed test scaffold for the Nginx C modules and Nginx/OpenResty-based libraries and applications
Socket-backed test scaffold for tests related to ngx_lua
Subclass of Test::Nginx::Socket::Lua to test NGINX udp stream modules
Subclass of Test::Nginx::Socket::Lua to test NGINX stream modules

Provides

in lib/Test/Nginx/Util.pm