Mercurial > hg > nginx-tests
changeset 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 | 41caaaff9b95 |
children | cf9183219c59 |
files | h2.t spdy.t |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/h2.t Thu Oct 01 19:24:00 2015 +0300 +++ b/h2.t Thu Oct 01 19:28:03 2015 +0300 @@ -34,9 +34,9 @@ ->has(qw/limit_conn rewrite realip shmem/) ->has_daemon('openssl')->plan(219); -# FreeBSD has a bug in not treating zero iovcnt as EINVAL - -$t->todo_alerts() unless $^O eq 'freebsd'; +# Some systems have a bug in not treating zero writev iovcnt as EINVAL + +$t->todo_alerts() if $^O eq 'darwin'; $t->write_file_expand('nginx.conf', <<'EOF');
--- a/spdy.t Thu Oct 01 19:24:00 2015 +0300 +++ b/spdy.t Thu Oct 01 19:28:03 2015 +0300 @@ -37,9 +37,9 @@ my $t = Test::Nginx->new() ->has(qw/http proxy cache limit_conn rewrite spdy realip shmem/); -# FreeBSD has a bug in not treating zero iovcnt as EINVAL +# Some systems have a bug in not treating zero writev iovcnt as EINVAL -$t->todo_alerts() unless $^O eq 'freebsd'; +$t->todo_alerts() if $^O eq 'darwin'; $t->plan(84)->write_file_expand('nginx.conf', <<'EOF');