# HG changeset patch # User Dmitry Volyntsev # Date 1583167612 -10800 # Node ID 01867708af95dd5cecd171a6dac70da250890e54 # Parent 3b6b2667ece918aa48422ea51ab81b7a74403e5d Tests: adjusted todo_alerts() in js_subrequest.t. diff --git a/js_subrequests.t b/js_subrequests.t --- a/js_subrequests.t +++ b/js_subrequests.t @@ -478,11 +478,14 @@ is(get_json('/sr_body'), '{"a":{"b":1}}' is(get_json('/sr_body_special'), '{"e":"msg"}', 'sr_body_special'); is(get_json('/sr_in_variable_handler'), '["CB-VAR"]', 'sr_in_variable_handler'); -$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio (on|threads)/; +$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio (on|threads)/ + and !$t->has_version('1.17.9'); TODO: { -local $TODO = 'header already sent' if $t->read_file('nginx.conf') =~ /aio on/; -local $TODO = 'open socket left' if $t->read_file('nginx.conf') =~ /aio thread/; +local $TODO = 'header already sent' if $t->read_file('nginx.conf') =~ /aio on/ + and !$t->has_version('1.17.9'); +local $TODO = 'open socket left' if $t->read_file('nginx.conf') =~ /aio thread/ + and !$t->has_version('1.17.9'); is(get_json('/sr_file'), '["SEE-THIS"]', 'sr_file');