Mercurial > hg > nginx-tests
comparison spdy.t @ 730:63c45a158cde
Tests: adjusted todo_alerts() in h2.t and spdy.t.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 01 Oct 2015 19:28:03 +0300 |
parents | 626bc3a0fdaa |
children |
comparison
equal
deleted
inserted
replaced
729:41caaaff9b95 | 730:63c45a158cde |
---|---|
35 plan(skip_all => 'Compress::Raw::Zlib not installed') if $@; | 35 plan(skip_all => 'Compress::Raw::Zlib not installed') if $@; |
36 | 36 |
37 my $t = Test::Nginx->new() | 37 my $t = Test::Nginx->new() |
38 ->has(qw/http proxy cache limit_conn rewrite spdy realip shmem/); | 38 ->has(qw/http proxy cache limit_conn rewrite spdy realip shmem/); |
39 | 39 |
40 # FreeBSD has a bug in not treating zero iovcnt as EINVAL | 40 # Some systems have a bug in not treating zero writev iovcnt as EINVAL |
41 | 41 |
42 $t->todo_alerts() unless $^O eq 'freebsd'; | 42 $t->todo_alerts() if $^O eq 'darwin'; |
43 | 43 |
44 $t->plan(84)->write_file_expand('nginx.conf', <<'EOF'); | 44 $t->plan(84)->write_file_expand('nginx.conf', <<'EOF'); |
45 | 45 |
46 %%TEST_GLOBALS%% | 46 %%TEST_GLOBALS%% |
47 | 47 |