changeset 15:4fe7e417c424

Keepalive: fix fastcgi tests to be actually TODO.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 23 Apr 2009 05:05:06 +0400
parents 28af4b0b32c1
children 28f882414188
files t/fastcgi-keepalive.t
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/t/fastcgi-keepalive.t	Wed Apr 15 19:22:11 2009 +0400
+++ b/t/fastcgi-keepalive.t	Thu Apr 23 05:05:06 2009 +0400
@@ -56,13 +56,14 @@
 
 ###############################################################################
 
+{
+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 @@
 
 {
 local $TODO = 'needs experimental patches';
+local $SIG{__WARN__} = sub {};
 
 like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD');
+
 }
 
 ###############################################################################