Mercurial > hg > nginx-tests
diff ssi_waited.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 | 6a0d934950bc |
children | e9064d691790 |
line wrap: on
line diff
--- a/ssi_waited.t +++ b/ssi_waited.t @@ -21,7 +21,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http ssi/)->plan(2); +my $t = Test::Nginx->new()->has(qw/http ssi/)->plan(1); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -59,6 +59,4 @@ EOF like(http_get('/'), qr/^xFIRSTxWAITEDxSECONDx$/m, 'waited non-active'); -like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); - ###############################################################################