comparison ssi.t @ 506:5baf4b01cae4

Tests: adjusted TODOs.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 02 Dec 2014 20:34:59 +0300
parents 071e8941e3bf
children 907e89fba9c3
comparison
equal deleted inserted replaced
505:9592b440ab00 506:5baf4b01cae4
158 like(http_get('/test-empty2.html'), qr/HTTP/, 'empty without ssi'); 158 like(http_get('/test-empty2.html'), qr/HTTP/, 'empty without ssi');
159 like(http_get('/test-empty3.html'), qr/HTTP/, 'empty with proxy'); 159 like(http_get('/test-empty3.html'), qr/HTTP/, 'empty with proxy');
160 like(http_get('/test-empty3.html'), qr/HTTP/, 'empty with proxy cached'); 160 like(http_get('/test-empty3.html'), qr/HTTP/, 'empty with proxy cached');
161 161
162 TODO: { 162 TODO: {
163 local $TODO = 'not yet'; 163 local $TODO = 'not yet' unless $t->has_version('1.7.8');
164 164
165 like(http_get('/test-empty-postpone.html'), qr/HTTP.*XX/ms, 165 like(http_get('/test-empty-postpone.html'), qr/HTTP.*XX/ms,
166 'empty with postpone_output 0'); 166 'empty with postpone_output 0');
167 167
168 } 168 }
191 qr/x\w+, \d\d:\d\d:\d\dx/, 'custom ssi'); 191 qr/x\w+, \d\d:\d\d:\d\dx/, 'custom ssi');
192 like(http_get('/var_format.html'), 192 like(http_get('/var_format.html'),
193 qr/x\w+, \d\d-\w{3}-\d{4} \d\d:\d\d:\d\d \w+x/, 'default ssi'); 193 qr/x\w+, \d\d-\w{3}-\d{4} \d\d:\d\d:\d\d \w+x/, 'default ssi');
194 194
195 TODO: { 195 TODO: {
196 local $TODO = 'not yet'; 196 local $TODO = 'not yet' unless $t->has_version('1.7.8');
197 197
198 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); 198 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts');
199 199
200 } 200 }
201 201