WIP: Automatic update to Test-Nginx-0.32.tar.gz #1

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-Test-Nginx:autoupdate into main
4 changed files with 58 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8097585351ec20e2c035607236fe78b5279ebe62435e1ffb928915d26eb126b2
size 131437

BIN
Test-Nginx-0.32.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,53 @@
-------------------------------------------------------------------
Wed Mar 4 06:04:53 UTC 2026 - Tina Müller <timueller+perl@suse.de>
- updated to 0.320.0 (0.32)
see /usr/share/doc/packages/perl-Test-Nginx/Changes
0.32 - 2026-03-03
* bugfix: address incorrect HTTP/2 configuration.
* bugfix: dynamically set the proxy_temp_path.
* bugfix: fixed warning introduced by commit c3e96f.
* bugfix: put load_module directives before the stream block.
* doc: update copyright.
* docs: Add the missing version number.
* feature: add --- no_mockeagain.
* feature: add --- tcp_query_auto_timeout for unknow input length.
* feature: add TEST_NGINX_LD_PRELOAD.
* feature: add stream listen option like reuseport or proxy_protocol.
* optimize: throw warning message if enable the mockeagain without poll event type.
0.31 - 2025-04-03
* bugfix: check the rand port with bind(). thanks lijunlong for the patch.
* bugfix: Add the default config base on the nginx -V. This is a commit after 3f15aea4. thanks lijunlong for the patch.
* bugfix: should not include cgi related configs by default. The cgi related features may not build into the nginx binary. thanks lijunlong for the patch.
* feature: allow to perform unprivileged tests. thanks BalkanMadman for the patch.
* optimize: use 'http2 on for nginx>1.25.3.' thanks lijunlong for the patch.
* change: get pcre version from 'Nginx -V'. thanks lijunlong for the patch.
* change: get pcre version from the linking library of nginx. thanks lijunlong for the patch.
* fix: enable ngx.location.capture API test in http2. thanks Jun Ouyang for the patch.
* bugfix: use rename to ensure atomicity of write operations in TCP/UDP server. thanks Johnny Wang for the patch.
* bugfix: failed to validate no_shutdown_error_log. thanks lijunlong for the patch.
* bugfix: should allow the underscore in the test filename. thanks lijunlong for the patch.
* feature: add test case name to asan log_path. thanks lijunlong for the patch.
* feature: add new enviroment variable TEST_NGINX_VALGRIND_EXIT_ON_FIRST_ERR. thanks lijunlong for the patch.
* doc: typo wo -> we. thanks Johnny Wang for the patch.
* feature: added new section --- post_setup_server_root. thanks leslie for the patch.
* fixed a use of undef value introduced in the previous commit. thanks Yichun Zhang (agentzh) for the patch.
* feature: added new section --- write_resp_body_file. thanks Yichun Zhang (agentzh) for the patch.
* feature: make the valgrind exit on the first error. thanks lijunlong for the patch.
* feature: expand env vars in udp_listen, error_log_file, pipelined_requests. thanks Johnny Wang for the patch.
* feature: add --- suppress_stderr to silent error messages on nginx startup. Useful with must_die block. thanks Jiří Setnička for the patch.
* change: adjust http3 test for the latest change in nginx 1.25. thanks lijunlong for the patch.
* feature: support pcre2. thanks swananan for the patch.
* bugfix: handle openresty+ server name as well. thanks Yichun Zhang (agentzh) for the patch.
* bugfix: ensure cache dir is removed before cleanup. thanks leslie for the patch.
* feature: now we expand env vars in --- grep_error_log_out texts as well. thanks lijunlong for the patch.
* feature: now we expand env vars in --- response_body texts as well. thanks Yichun Zhang (agentzh) for the patch.
* feature: add a builtin filter for json response. thanks lijunlong for the patch.
* feat(Valgrind): show full backtrace for lib loaded by Lua C API. thanks 罗泽轩 for the patch.
* feature: export new API add_test_cleanup_handler. thanks lijunlong for the patch.
* CPAN: fixed the forgotten version number update in Socket/Lua/Stream.pm. thanks Johnny Wang for the patch.
-------------------------------------------------------------------
Fri May 3 15:09:08 UTC 2024 - Илья Индиго <ilya@ilya.top>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Nginx
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name Test-Nginx
Name: perl-Test-Nginx
Version: 0.300.0
Version: 0.320.0
Release: 0
# 0.30 -> normalize -> 0.300.0
%define cpan_version 0.30
# 0.32 -> normalize -> 0.320.0
%define cpan_version 0.32
License: BSD-3-Clause
Summary: Data-driven test scaffold for Nginx C module and Nginx/OpenResty-based l[cut]
URL: https://metacpan.org/release/%{cpan_name}
@@ -96,7 +96,7 @@ environment, as in
export TEST_NGINX_PORT=1989
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor