diff h2.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 41caaaff9b95
children 832cd7cc8f53
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');