Mercurial > hg > nginx-tests
comparison access.t @ 901:25bf03642a45
Tests: sprinkle unix prerequisite.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 18 Apr 2016 16:30:27 +0300 |
parents | 847ea345becb |
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/http proxy access ipv6/); | 26 my $t = Test::Nginx->new()->has(qw/http proxy 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 |
78 } | 78 } |
79 } | 79 } |
80 | 80 |
81 EOF | 81 EOF |
82 | 82 |
83 $t->try_run('no inet6 and/or unix support')->plan(12); | 83 $t->try_run('no inet6 support')->plan(12); |
84 | 84 |
85 ############################################################################### | 85 ############################################################################### |
86 | 86 |
87 # tests with inet socket | 87 # tests with inet socket |
88 | 88 |