Mercurial > hg > nginx-tests
changeset 506:5baf4b01cae4
Tests: adjusted TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 02 Dec 2014 20:34:59 +0300 |
parents | 9592b440ab00 |
children | 34280f6b0bc6 |
files | post_action.t proxy_cache_lock_ssi.t ssi.t |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/post_action.t Thu Nov 27 15:39:03 2014 +0300 +++ b/post_action.t Tue Dec 02 20:34:59 2014 +0300 @@ -79,7 +79,7 @@ like(`cat ${\($t->testdir())}/access.log`, qr/post/, 'post action in logs'); TODO: { -local $TODO = 'broken in 1.5.4'; +local $TODO = 'broken in 1.5.4' unless $t->has_version('1.7.8'); # the r->header_sent check in 1.5.4+ results in # "header already sent" alerts
--- a/proxy_cache_lock_ssi.t Thu Nov 27 15:39:03 2014 +0300 +++ b/proxy_cache_lock_ssi.t Tue Dec 02 20:34:59 2014 +0300 @@ -101,7 +101,7 @@ http_end($s); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.8'); cmp_ok(time() - $start, '<=', 3, 'parallel execution after lock timeout');
--- a/ssi.t Thu Nov 27 15:39:03 2014 +0300 +++ b/ssi.t Tue Dec 02 20:34:59 2014 +0300 @@ -160,7 +160,7 @@ like(http_get('/test-empty3.html'), qr/HTTP/, 'empty with proxy cached'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.8'); like(http_get('/test-empty-postpone.html'), qr/HTTP.*XX/ms, 'empty with postpone_output 0'); @@ -193,7 +193,7 @@ qr/x\w+, \d\d-\w{3}-\d{4} \d\d:\d\d:\d\d \w+x/, 'default ssi'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.8'); like(`grep -F '[alert]' ${\($t->testdir())}/error.log`, qr/^$/s, 'no alerts');