Mercurial > hg > nginx-tests
diff h2.t @ 997:3c5d3b384d3f
Tests: adjusted TODOs for HTTP/2 fixes committed in 1.11.3.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 26 Jul 2016 21:00:41 +0300 |
parents | 35739834ecd9 |
children | 3b1ee8acc4db |
line wrap: on
line diff
--- a/h2.t +++ b/h2.t @@ -29,7 +29,8 @@ my $t = Test::Nginx->new()->has(qw/http # Some systems return EINVAL on zero writev iovcnt per POSIX, while others not -$t->todo_alerts() if $^O eq 'darwin' or $^O eq 'netbsd'; +$t->todo_alerts() if ($^O eq 'darwin' or $^O eq 'netbsd') + and !$t->has_version('1.11.3'); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -815,7 +816,7 @@ SKIP: { skip 'tolerant operating system', 1 unless $^O eq 'darwin' or $^O eq 'netbsd'; TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.11.3'); $sid = $s->new_stream(); $frames = $s->read(all => [{ sid => $sid, fin => 1 }]); @@ -1108,7 +1109,7 @@ my $active = Test::Nginx::HTTP2->new(por ok($frame, 'GOAWAY on connection close - idle stream'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.11.3'); $frames = $active->read(all => [{ type => 'GOAWAY' }]); ($frame) = grep { $_->{type} eq "GOAWAY" } @$frames;