Mercurial > hg > nginx-tests
diff ssi.t @ 593:6c0a5903d0ae
Tests: cleanup now duplicating tests for no alerts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 27 May 2015 17:09:22 +0300 |
parents | 2cd00179f4b2 |
children | 35832048546e |
line wrap: on
line diff
--- a/ssi.t +++ b/ssi.t @@ -22,7 +22,7 @@ select STDERR; $| = 1; select STDOUT; $| = 1; my $t = Test::Nginx->new()->has(qw/http ssi cache proxy rewrite shmem/) - ->plan(28); + ->plan(27); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -190,6 +190,4 @@ like(http_get('/var_format.html?custom=1 like(http_get('/var_format.html'), qr/x\w+, \d\d-\w{3}-\d{4} \d\d:\d\d:\d\d [\w ]+x/, 'default ssi'); -like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); - ###############################################################################