# HG changeset patch # User Sergey Kandaurov # Date 1443716883 -10800 # Node ID 63c45a158cde1d778d69f5e2046c0f41e04eff52 # Parent 41caaaff9b9515c2029ecc27515b795d3aed7cf3 Tests: adjusted todo_alerts() in h2.t and spdy.t. diff --git a/h2.t b/h2.t --- a/h2.t +++ b/h2.t @@ -34,9 +34,9 @@ my $t = Test::Nginx->new()->has(qw/http ->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'); diff --git a/spdy.t b/spdy.t --- a/spdy.t +++ b/spdy.t @@ -37,9 +37,9 @@ plan(skip_all => 'Compress::Raw::Zlib no 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');