comparison 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
comparison
equal deleted inserted replaced
1250:b708848eb49a 1251:766bcbb632ee
55 55
56 http_get('/?a="1 \\ ' . pack("n", 0x1b1c) . ' "&c=2'); 56 http_get('/?a="1 \\ ' . pack("n", 0x1b1c) . ' "&c=2');
57 57
58 $t->stop(); 58 $t->stop();
59 59
60 TODO: {
61 local $TODO = 'not yet' unless $t->has_version('1.11.8');
62
63 is($t->read_file('json.log'), '\"1 \\\\ \u001B\u001C \"2' . "\n", 'json'); 60 is($t->read_file('json.log'), '\"1 \\\\ \u001B\u001C \"2' . "\n", 'json');
64 is($t->read_file('test.log'), '\x221 \x5C \x1B\x1C \x22-2' . "\n", 'default'); 61 is($t->read_file('test.log'), '\x221 \x5C \x1B\x1C \x22-2' . "\n", 'default');
65 62
66 }
67
68 ############################################################################### 63 ###############################################################################