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
+++ 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');
 
--- 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');