Mercurial > hg > nginx-tests
diff access_log.t @ 568:907e89fba9c3
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Sun, 03 May 2015 12:45:09 +0300 |
parents | 43e05ac6c23c |
children | e9f48f1e905b |
line wrap: on
line diff
--- a/access_log.t +++ b/access_log.t @@ -21,7 +21,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http rewrite/) +my $t = Test::Nginx->new()->has(qw/http rewrite/)->plan(9) ->write_file_expand('nginx.conf', <<'EOF'); %%TEST_GLOBALS%% @@ -91,7 +91,7 @@ http { EOF -$t->try_run('no access_log if')->plan(9); +$t->run(); ############################################################################### @@ -184,15 +184,10 @@ is($log, $exp_complex, 'if with complex # buffer created with false "if" is not reused among multiple access_log -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.7.5'); - $log = $t->read_file('/noreuse.log'); is($log, "/filtered/noreuse1/good:200\n/filtered/noreuse2/good:200\n", 'log filtering with buffering'); -} - # multiple logs in a same location