changeset 1588:3afb634f287d

Tests: fixed h2_max_requests.t TODOs on linux.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 02 Sep 2020 23:42:12 +0300
parents 17b227c271a2
children f145dce55f32
files h2_max_requests.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h2_max_requests.t
+++ b/h2_max_requests.t
@@ -90,7 +90,7 @@ select undef, undef, undef, 0.1;
 is($frame->{headers}->{':status'}, 200, 'max requests limited');
 
 TODO: {
-local $TODO = 'not yet' if $^O eq 'linux' or $^O eq 'freebsd'
+local $TODO = 'not yet' if ($^O eq 'linux' or $^O eq 'freebsd')
 	and !$t->has_version('1.19.1');
 
 my @data = grep { $_->{type} eq "DATA" } @$frames;
@@ -128,7 +128,7 @@ select undef, undef, undef, 0.3;
 is($frame->{headers}->{':status'}, 200, 'graceful shutdown in idle');
 
 TODO: {
-local $TODO = 'not yet' if $^O eq 'linux' or $^O eq 'freebsd'
+local $TODO = 'not yet' if ($^O eq 'linux' or $^O eq 'freebsd')
 	and !$t->has_version('1.19.1');
 
 my @data = grep { $_->{type} eq "DATA" } @$frames;