Mercurial > hg > nginx-tests
changeset 901:25bf03642a45
Tests: sprinkle unix prerequisite.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 18 Apr 2016 16:30:27 +0300 |
parents | 257de77879e8 |
children | 3b90649691cc |
files | access.t stream_access.t |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/access.t Mon Apr 18 13:56:35 2016 +0300 +++ b/access.t Mon Apr 18 16:30:27 2016 +0300 @@ -23,7 +23,7 @@ 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 @@ EOF -$t->try_run('no inet6 and/or unix support')->plan(12); +$t->try_run('no inet6 support')->plan(12); ###############################################################################
--- a/stream_access.t Mon Apr 18 13:56:35 2016 +0300 +++ b/stream_access.t Mon Apr 18 16:30:27 2016 +0300 @@ -23,7 +23,7 @@ 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 @@ 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');