Mercurial > hg > nginx-tests
comparison proxy_unix.t @ 800:51d3243a762f
Tests: skip tests with unix domain sockets on win32.
The unix domain sockets are not supported on this platform.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 09 Dec 2015 17:49:30 +0300 |
parents | bf87c406f81d |
children | 6b2512f859a0 |
comparison
equal
deleted
inserted
replaced
799:bf87c406f81d | 800:51d3243a762f |
---|---|
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 eval { require IO::Socket::UNIX; }; | 26 eval { require IO::Socket::UNIX; }; |
27 plan(skip_all => 'IO::Socket::UNIX not installed') if $@; | 27 plan(skip_all => 'IO::Socket::UNIX not installed') if $@; |
28 | 28 |
29 my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(4); | 29 my $t = Test::Nginx->new()->has(qw/http proxy unix/)->plan(4); |
30 | 30 |
31 $t->write_file_expand('nginx.conf', <<'EOF'); | 31 $t->write_file_expand('nginx.conf', <<'EOF'); |
32 | 32 |
33 %%TEST_GLOBALS%% | 33 %%TEST_GLOBALS%% |
34 | 34 |