# HG changeset patch # User Maxim Dounin # Date 1240448706 -14400 # Node ID 4fe7e417c42473bdbaa8bf507923eadc7ef038dd # Parent 28af4b0b32c118e4a7003d567ab15bf8186e5b39 Keepalive: fix fastcgi tests to be actually TODO. diff --git a/t/fastcgi-keepalive.t b/t/fastcgi-keepalive.t --- a/t/fastcgi-keepalive.t +++ b/t/fastcgi-keepalive.t @@ -56,13 +56,14 @@ EOF ############################################################################### +{ +local $TODO = 'needs experimental patches'; +local $SIG{__WARN__} = sub {}; + like(http_get('/'), qr/SEE-THIS/, 'fastcgi request'); like(http_get('/redir'), qr/302/, 'fastcgi redirect'); like(http_get('/'), qr/^request: 3$/m, 'fastcgi third request'); -{ -local $TODO = 'needs experimental patches'; - like(http_get('/single'), qr/^connection: 1$/m, 'single connection used'); } @@ -75,8 +76,10 @@ unlike(http_head('/head'), qr/SEE-THIS/, { local $TODO = 'needs experimental patches'; +local $SIG{__WARN__} = sub {}; like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD'); + } ###############################################################################