Mercurial > hg > nginx-tests
diff post_action.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 | 56c3a8310076 |
children | e9064d691790 |
line wrap: on
line diff
--- a/post_action.t +++ b/post_action.t @@ -22,7 +22,7 @@ use Test::Nginx; select STDERR; $| = 1; select STDOUT; $| = 1; -my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(6); +my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(5); $t->write_file_expand('nginx.conf', <<'EOF'); @@ -78,6 +78,4 @@ unlike(http_get('/remote'), qr/HIDDEN/m, like(`cat ${\($t->testdir())}/access.log`, qr/post/, 'post action in logs'); -like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); - ###############################################################################