comparison syslog.t @ 921:bc9e519ab3bc

Tests: added missing character in regex in syslog.t.
author Andrey Zelenkov <zelenkov@nginx.com>
date Tue, 10 May 2016 14:56:47 +0300
parents 1f48ed26b49a
children e9064d691790
comparison
equal deleted inserted replaced
920:943a5952ee5e 921:bc9e519ab3bc
194 194
195 # count log messages emitted with various error_log levels 195 # count log messages emitted with various error_log levels
196 196
197 is(syslog_lines('/low', '[error]'), 2, 'low'); 197 is(syslog_lines('/low', '[error]'), 2, 'low');
198 is(syslog_lines('/dup', '[error]'), 2, 'dup'); 198 is(syslog_lines('/dup', '[error]'), 2, 'dup');
199 is(syslog_lines('/high', '[error'), 1, 'high'); 199 is(syslog_lines('/high', '[error]'), 1, 'high');
200 200
201 # check for the presence of the syslog messages in the global and http contexts 201 # check for the presence of the syslog messages in the global and http contexts
202 202
203 is_deeply(levels($t, 's_glob.log'), levels($t, 'f_glob.log'), 'master syslog'); 203 is_deeply(levels($t, 's_glob.log'), levels($t, 'f_glob.log'), 'master syslog');
204 is_deeply(levels($t, 's_http.log'), levels($t, 'f_http.log'), 'http syslog'); 204 is_deeply(levels($t, 's_http.log'), levels($t, 'f_http.log'), 'http syslog');