Mercurial > hg > nginx-tests
comparison stream_access_log_none.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 5d75938b2622 |
children | f3ba4c74de31 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
20 ############################################################################### | 20 ############################################################################### |
21 | 21 |
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 my $t = Test::Nginx->new()->has(qw/stream stream_map stream_return/) | 25 my $t = Test::Nginx->new()->has(qw/stream stream_map stream_return/)->plan(1) |
26 ->write_file_expand('nginx.conf', <<'EOF'); | 26 ->write_file_expand('nginx.conf', <<'EOF'); |
27 | 27 |
28 %%TEST_GLOBALS%% | 28 %%TEST_GLOBALS%% |
29 | 29 |
30 daemon off; | 30 daemon off; |
50 } | 50 } |
51 } | 51 } |
52 | 52 |
53 EOF | 53 EOF |
54 | 54 |
55 $t->try_run('no escape=none')->plan(1); | 55 $t->run(); |
56 | 56 |
57 ############################################################################### | 57 ############################################################################### |
58 | 58 |
59 http_get('/'); | 59 http_get('/'); |
60 | 60 |