# HG changeset patch # User Maxim Dounin # Date 1359739662 -14400 # Node ID 9f0ed4d54ae3c8bb6ff27138b7cfb4734e782405 # Parent 2cb970dda24b58c1a30e1745b59d33c33ccfb9e0 Tests: remove/adjust TODOs. FastCGI keepalive fixes were committed in 1.3.12, and regression with client_body_in_file_only was fixed. diff --git a/body.t b/body.t --- 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 { diff --git a/fastcgi_keepalive.t b/fastcgi_keepalive.t --- 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');