diff ssi_if.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_if.t
+++ b/ssi_if.t
@@ -22,7 +22,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http ssi/)->plan(44);
+my $t = Test::Nginx->new()->has(qw/http ssi/)->plan(43);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
@@ -270,7 +270,4 @@ like(http_get('/zigzag_block.html?1=t&3=
 
 }
 
-
-like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts');
-
 ###############################################################################