comparison post_action.t @ 506:5baf4b01cae4

Tests: adjusted TODOs.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 02 Dec 2014 20:34:59 +0300
parents baae3ed4ad09
children 34280f6b0bc6
comparison
equal deleted inserted replaced
505:9592b440ab00 506:5baf4b01cae4
77 $t->stop(); 77 $t->stop();
78 78
79 like(`cat ${\($t->testdir())}/access.log`, qr/post/, 'post action in logs'); 79 like(`cat ${\($t->testdir())}/access.log`, qr/post/, 'post action in logs');
80 80
81 TODO: { 81 TODO: {
82 local $TODO = 'broken in 1.5.4'; 82 local $TODO = 'broken in 1.5.4' unless $t->has_version('1.7.8');
83 83
84 # the r->header_sent check in 1.5.4+ results in 84 # the r->header_sent check in 1.5.4+ results in
85 # "header already sent" alerts 85 # "header already sent" alerts
86 86
87 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts'); 87 like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts');