# HG changeset patch # User Sergey Kandaurov # Date 1460986227 -10800 # Node ID 25bf03642a457c4c91ac11887998443f8dd8e391 # Parent 257de77879e821ef7149f9867e8350a0957b5b30 Tests: sprinkle unix prerequisite. diff --git a/access.t b/access.t --- a/access.t +++ b/access.t @@ -23,7 +23,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy access ipv6/); +my $t = Test::Nginx->new()->has(qw/http proxy access ipv6 unix/); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -80,7 +80,7 @@ http { EOF -$t->try_run('no inet6 and/or unix support')->plan(12); +$t->try_run('no inet6 support')->plan(12); ############################################################################### diff --git a/stream_access.t b/stream_access.t --- a/stream_access.t +++ b/stream_access.t @@ -23,7 +23,7 @@ use Test::Nginx::Stream qw/ stream /; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/stream stream_access ipv6/); +my $t = Test::Nginx->new()->has(qw/stream stream_access ipv6 unix/); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -146,7 +146,7 @@ stream { EOF -$t->try_run('no inet6 and/or unix support')->plan(18); +$t->try_run('no inet6 support')->plan(18); $t->run_daemon(\&stream_daemon); $t->waitforsocket('127.0.0.1:8080');