# HG changeset patch # User Maxim Dounin # Date 1417541699 -10800 # Node ID 5baf4b01cae4bbb740c6e16027c380e72b6975b7 # Parent 9592b440ab005baf5d17386ae450f5f37e17f913 Tests: adjusted TODOs. diff --git a/post_action.t b/post_action.t --- a/post_action.t +++ b/post_action.t @@ -79,7 +79,7 @@ unlike(http_get('/remote'), qr/HIDDEN/m, 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 diff --git a/proxy_cache_lock_ssi.t b/proxy_cache_lock_ssi.t --- a/proxy_cache_lock_ssi.t +++ b/proxy_cache_lock_ssi.t @@ -101,7 +101,7 @@ like(http_get('/ssi.html'), qr/end/, 'ca 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'); diff --git a/ssi.t b/ssi.t --- a/ssi.t +++ b/ssi.t @@ -160,7 +160,7 @@ like(http_get('/test-empty3.html'), qr/H 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 @@ like(http_get('/var_format.html'), 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');