Mercurial > hg > nginx-tests
comparison h2.t @ 1002:3b1ee8acc4db
Tests: added charset and gzip prerequisites in h2.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 02 Aug 2016 15:56:50 +0300 |
parents | 3c5d3b384d3f |
children | 196d33c2bb45 |
comparison
equal
deleted
inserted
replaced
1001:4a0e1d7cc20b | 1002:3b1ee8acc4db |
---|---|
23 ############################################################################### | 23 ############################################################################### |
24 | 24 |
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(138); | 28 my $t = Test::Nginx->new()->has(qw/http http_v2 proxy rewrite charset gzip/) |
29 ->plan(138); | |
29 | 30 |
30 # Some systems return EINVAL on zero writev iovcnt per POSIX, while others not | 31 # Some systems return EINVAL on zero writev iovcnt per POSIX, while others not |
31 | 32 |
32 $t->todo_alerts() if ($^O eq 'darwin' or $^O eq 'netbsd') | 33 $t->todo_alerts() if ($^O eq 'darwin' or $^O eq 'netbsd') |
33 and !$t->has_version('1.11.3'); | 34 and !$t->has_version('1.11.3'); |