comparison stream_access.t @ 901:25bf03642a45

Tests: sprinkle unix prerequisite.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 18 Apr 2016 16:30:27 +0300
parents f4189a38c3a4
children e9064d691790
comparison
equal deleted inserted replaced
900:257de77879e8 901:25bf03642a45
21 ############################################################################### 21 ###############################################################################
22 22
23 select STDERR; $| = 1; 23 select STDERR; $| = 1;
24 select STDOUT; $| = 1; 24 select STDOUT; $| = 1;
25 25
26 my $t = Test::Nginx->new()->has(qw/stream stream_access ipv6/); 26 my $t = Test::Nginx->new()->has(qw/stream stream_access ipv6 unix/);
27 27
28 $t->write_file_expand('nginx.conf', <<'EOF'); 28 $t->write_file_expand('nginx.conf', <<'EOF');
29 29
30 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%
31 31
144 } 144 }
145 } 145 }
146 146
147 EOF 147 EOF
148 148
149 $t->try_run('no inet6 and/or unix support')->plan(18); 149 $t->try_run('no inet6 support')->plan(18);
150 $t->run_daemon(\&stream_daemon); 150 $t->run_daemon(\&stream_daemon);
151 $t->waitforsocket('127.0.0.1:8080'); 151 $t->waitforsocket('127.0.0.1:8080');
152 152
153 ############################################################################### 153 ###############################################################################
154 154