Mercurial > hg > nginx-tests
comparison post_action.t @ 507:34280f6b0bc6
Tests: trailing spaces.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 02 Dec 2014 21:08:34 +0300 |
parents | 5baf4b01cae4 |
children | 56c3a8310076 |
comparison
equal
deleted
inserted
replaced
506:5baf4b01cae4 | 507:34280f6b0bc6 |
---|---|
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' unless $t->has_version('1.7.8'); | 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'); |
88 | 88 |
89 } | 89 } |