Mercurial > hg > nginx-tests
comparison stream_access_log_escape.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | a5f9c878c3ab |
children | f3ba4c74de31 |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
52 } | 52 } |
53 } | 53 } |
54 | 54 |
55 EOF | 55 EOF |
56 | 56 |
57 $t->try_run('no stream map')->plan(2); | 57 $t->run()->plan(2); |
58 | 58 |
59 ############################################################################### | 59 ############################################################################### |
60 | 60 |
61 http_get('/'); | 61 http_get('/'); |
62 | 62 |
63 $t->stop(); | 63 $t->stop(); |
64 | 64 |
65 TODO: { | |
66 local $TODO = 'not yet' unless $t->has_version('1.11.8'); | |
67 | |
68 is($t->read_file('json.log'), '\" \\\\ \"foo' . "\n", 'json'); | 65 is($t->read_file('json.log'), '\" \\\\ \"foo' . "\n", 'json'); |
69 is($t->read_file('test.log'), '\x22 \x5C \x22foo-' . "\n", 'default'); | 66 is($t->read_file('test.log'), '\x22 \x5C \x22foo-' . "\n", 'default'); |
70 | 67 |
71 } | |
72 | |
73 ############################################################################### | 68 ############################################################################### |