Mercurial > hg > nginx-tests
comparison h2.t @ 890:b06beed07bc8
Tests: adjusted h2.t todo_alerts after a6abbfed, improved comments.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 01 Apr 2016 17:41:57 +0300 |
parents | a6abbfed42c0 |
children | 48d277065309 |
comparison
equal
deleted
inserted
replaced
889:266e3b2e88f9 | 890:b06beed07bc8 |
---|---|
25 select STDERR; $| = 1; | 25 select STDERR; $| = 1; |
26 select STDOUT; $| = 1; | 26 select STDOUT; $| = 1; |
27 | 27 |
28 my $t = Test::Nginx->new()->has(qw/http http_v2 proxy rewrite/)->plan(137); | 28 my $t = Test::Nginx->new()->has(qw/http http_v2 proxy rewrite/)->plan(137); |
29 | 29 |
30 # Some systems may have also a bug in not treating zero writev iovcnt as EINVAL | 30 # Some systems return EINVAL on zero writev iovcnt per POSIX, while others not |
31 | 31 |
32 $t->todo_alerts(); | 32 $t->todo_alerts() if $^O eq 'darwin' or $^O eq 'netbsd'; |
33 | 33 |
34 $t->write_file_expand('nginx.conf', <<'EOF'); | 34 $t->write_file_expand('nginx.conf', <<'EOF'); |
35 | 35 |
36 %%TEST_GLOBALS%% | 36 %%TEST_GLOBALS%% |
37 | 37 |