[nginx-tests] Tests: adjusted TODOs.
Maxim Dounin
mdounin at mdounin.ru
Tue Jun 2 16:12:24 UTC 2026
details: http://freenginx.org/hg/nginx-tests/rev/6e9d814c49fd
branches:
changeset: 2063:6e9d814c49fd
user: Maxim Dounin <mdounin at mdounin.ru>
date: Tue Jun 02 05:54:47 2026 +0300
description:
Tests: adjusted TODOs.
diffstat:
charset_perl.t | 4 ++--
proxy_status.t | 3 ++-
rewrite.t | 8 ++++----
rewrite_set.t | 2 +-
scgi_status.t | 4 ++--
5 files changed, 11 insertions(+), 10 deletions(-)
diffs (82 lines):
diff --git a/charset_perl.t b/charset_perl.t
--- a/charset_perl.t
+++ b/charset_perl.t
@@ -89,9 +89,9 @@ EOF
TODO: {
local $TODO = 'not yet'
- unless $t->has_version('1.31.1');
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1');
todo_skip 'might coredump', 1
- unless $t->has_version('1.31.1')
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1')
or $ENV{TEST_NGINX_UNSAFE};
like(http_get('/multi'), qr/^CCTT𐀀𐀀$/m, 'multiple buffers');
diff --git a/proxy_status.t b/proxy_status.t
--- a/proxy_status.t
+++ b/proxy_status.t
@@ -80,7 +80,8 @@ like(http_get('/allow09/http09'), qr!^HT
'http 0.9 allowed');
TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.31.1');
+local $TODO = 'not yet' unless $t->has_version('1.31.1')
+ or $t->has_version('1.30.1');
like(http_get('/allow09/split'), qr!^HTTP/1.1 200 OK.*HTTP/0.9!s,
'http 0.9 split between packets');
diff --git a/rewrite.t b/rewrite.t
--- a/rewrite.t
+++ b/rewrite.t
@@ -250,9 +250,9 @@ like(http_get('/capture_dup/%25?a=b'),
TODO: {
local $TODO = 'not yet'
- unless $t->has_version('1.31.1');
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1');
todo_skip 'might coredump', 1
- unless $t->has_version('1.31.1')
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1')
or $ENV{TEST_NGINX_UNSAFE};
like(http_get('/capture_another/%25?a=b'),
@@ -263,9 +263,9 @@ like(http_get('/capture_another/%25?a=b'
TODO: {
local $TODO = 'not yet'
- unless $t->has_version('1.31.2');
+ unless $t->has_version('1.31.2') or $t->has_version('1.30.1');
todo_skip 'might coredump', 1
- unless $t->has_version('1.31.2')
+ unless $t->has_version('1.31.2') or $t->has_version('1.30.1')
or $ENV{TEST_NGINX_UNSAFE};
like(http_get('/capture_nested/%25?a=b'),
diff --git a/rewrite_set.t b/rewrite_set.t
--- a/rewrite_set.t
+++ b/rewrite_set.t
@@ -135,7 +135,7 @@ TODO: {
local $TODO = 'not yet'
unless $t->has_version('1.31.1');
todo_skip 'might coredump', 1
- unless $t->has_version('1.31.1')
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1')
or $ENV{TEST_NGINX_UNSAFE};
# set after a rewrite with arguments,
diff --git a/scgi_status.t b/scgi_status.t
--- a/scgi_status.t
+++ b/scgi_status.t
@@ -91,9 +91,9 @@ like(http_get('/001'), qr!^HTTP/1.1 502
TODO: {
local $TODO = 'not yet'
- unless $t->has_version('1.31.1');
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1');
todo_skip 'leaves coredump', 1
- unless $t->has_version('1.31.1')
+ unless $t->has_version('1.31.1') or $t->has_version('1.30.1')
or $ENV{TEST_NGINX_UNSAFE};
like(http_get('/split'), qr!^HTTP/1.1 200 .*HTTP-Header: foo!s,
More information about the nginx-devel
mailing list