comparison 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
comparison
equal deleted inserted replaced
592:355f2d5ff60f 593:6c0a5903d0ae
20 ############################################################################### 20 ###############################################################################
21 21
22 select STDERR; $| = 1; 22 select STDERR; $| = 1;
23 select STDOUT; $| = 1; 23 select STDOUT; $| = 1;
24 24
25 my $t = Test::Nginx->new()->has(qw/http ssi/)->plan(44); 25 my $t = Test::Nginx->new()->has(qw/http ssi/)->plan(43);
26 26
27 $t->write_file_expand('nginx.conf', <<'EOF'); 27 $t->write_file_expand('nginx.conf', <<'EOF');
28 28
29 %%TEST_GLOBALS%% 29 %%TEST_GLOBALS%%
30 30
268 like(http_get('/zigzag_block.html?1=t&3=t&5=t&7=t&9=t&11=t&13=t&15=t'), 268 like(http_get('/zigzag_block.html?1=t&3=t&5=t&7=t&9=t&11=t&13=t&15=t'),
269 qr/^xGOODx$/m, 'zagzig block'); 269 qr/^xGOODx$/m, 'zagzig block');
270 270
271 } 271 }
272 272
273 273 ###############################################################################
274 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts');
275
276 ###############################################################################