changeset 258:9f0ed4d54ae3

Tests: remove/adjust TODOs. FastCGI keepalive fixes were committed in 1.3.12, and regression with client_body_in_file_only was fixed.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 01 Feb 2013 21:27:42 +0400
parents 2cb970dda24b
children 024bae0ecd0c
files body.t fastcgi_keepalive.t
diffstat 2 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/body.t
+++ b/body.t
@@ -117,16 +117,11 @@ like(http_get_body('/discard', '01234567
 	'0123456789', 'foobar'), qr/(TEST.*){4}/ms,
 	'body discard 2');
 
-TODO: {
-local $TODO = 'broken by 1.3.9';
-
 # proxy with file only
 
-like(http_get_body('/small', '0123456789') || '',
+like(http_get_body('/small', '0123456789'),
 	qr/X-Body: 0123456789\x0d?$/ms, 'small body in file only');
 
-}
-
 ###############################################################################
 
 sub read_body_file {
--- a/fastcgi_keepalive.t
+++ b/fastcgi_keepalive.t
@@ -69,7 +69,7 @@ like(http_get('/redir'), qr/302/, 'fastc
 like(http_get('/'), qr/^request: 3$/m, 'fastcgi third request');
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.3.12');
 
 like(http_get('/single'), qr/^connection: 1$/m, 'single connection used');
 
@@ -82,7 +82,7 @@ like(http_get('/single'), qr/^connection
 unlike(http_head('/head'), qr/SEE-THIS/, 'no data in HEAD');
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.3.12');
 
 like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD');