Mercurial > hg > nginx-tests
changeset 276:94f8ee2f6688
Tests: remove TODOs.
Secure link inheritance fix and fastcgi keepalive fix were merged in 1.2.7.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 02 Apr 2013 18:22:51 +0400 |
parents | 6cbcfb4ef7ee |
children | 8a41f7d38cc3 |
files | fastcgi_keepalive.t secure_link.t |
diffstat | 2 files changed, 0 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/fastcgi_keepalive.t +++ b/fastcgi_keepalive.t @@ -64,26 +64,16 @@ like(http_get('/'), qr/SEE-THIS/, 'fastc like(http_get('/redir'), qr/302/, 'fastcgi redirect'); like(http_get('/'), qr/^request: 3$/m, 'fastcgi third request'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.3.12'); - like(http_get('/single'), qr/^connection: 1$/m, 'single connection used'); -} - # New connection to fastcgi application should be established after HEAD # requests since nginx doesn't read whole response (as it doesn't need # body). unlike(http_head('/head'), qr/SEE-THIS/, 'no data in HEAD'); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.3.12'); - like(http_get('/after'), qr/^connection: 2$/m, 'new connection after HEAD'); -} - ############################################################################### # Simple FastCGI responder implementation. Unlike FCGI and FCGI::Async it's
--- a/secure_link.t +++ b/secure_link.t @@ -149,14 +149,8 @@ like(http_get('/p/' . md5_hex('test.html like(http_get('/p/' . md5_hex('fake') . '/test.html'), qr/^HTTP.*403/, 'request old style fake hash'); like(http_get('/p/test.html'), qr/^HTTP.*403/, 'request old style no hash'); - -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.3.12'); - like(http_get('/inheritance/test'), qr/PASSED/, 'inheritance'); -} - ############################################################################### sub encode_base64url {