# HG changeset patch # User Maxim Dounin # Date 1610474831 -10800 # Node ID 6c323c672a8678b7cff4c0ccc7b303ef2e477f7c # Parent 6128590b0d462701c1aeec68dc77f8f478075abd Tests: adjusted TODOs for alerts in unbuffered proxying. diff --git a/proxy_extra_data.t b/proxy_extra_data.t --- a/proxy_extra_data.t +++ b/proxy_extra_data.t @@ -142,14 +142,14 @@ like(http_get('/zero'), qr/200 OK(?!.*NO } TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.19.7'); like(http_get('/unbuf/zero'), qr/200 OK(?!.*NOT-THIS)/s, 'unbuffered zero size'); } -$t->todo_alerts() if $t->has_version('1.19.1'); +$t->todo_alerts() if $t->has_version('1.19.1') and !$t->has_version('1.19.7'); ############################################################################### diff --git a/scgi_extra_data.t b/scgi_extra_data.t --- a/scgi_extra_data.t +++ b/scgi_extra_data.t @@ -145,14 +145,14 @@ like(http_get('/zero'), qr/200 OK(?!.*NO } TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.19.7'); like(http_get('/unbuf/zero'), qr/200 OK(?!.*NOT-THIS)/s, 'unbuffered zero size'); } -$t->todo_alerts() if $t->has_version('1.19.1'); +$t->todo_alerts() if $t->has_version('1.19.1') and !$t->has_version('1.19.7'); ###############################################################################