Mercurial > hg > nginx-tests
changeset 188:101b092b67e2
Tests: header merge bugs fixed 1.1.8/1.0.11, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Dec 2011 18:48:11 +0300 |
parents | eb4c40260ee7 |
children | 802fc0786165 |
files | fastcgi_merge_params.t fastcgi_merge_params2.t proxy_merge_headers.t scgi_merge_params.t |
diffstat | 4 files changed, 0 insertions(+), 53 deletions(-) [+] |
line wrap: on
line diff
--- a/fastcgi_merge_params.t Mon Dec 12 21:08:51 2011 +0300 +++ b/fastcgi_merge_params.t Thu Dec 15 18:48:11 2011 +0300 @@ -74,26 +74,13 @@ like(http_get_ims('/'), qr/ims=;/, 'if-modified-since cleared with cache'); - -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/'), qr/iums=;/, 'if-unmodified-since cleared with cache'); - -} - like(http_get_ims('/'), qr/blah=blah;/, 'custom params with cache'); -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/no/'), qr/ims=blah;/, 'if-modified-since preserved without cache'); - -} - like(http_get_ims('/no/'), qr/iums=blah;/, 'if-unmodified-since preserved without cache'); like(http_get_ims('/'), qr/blah=blah;/, @@ -101,14 +88,8 @@ like(http_get_ims('/custom/'), qr/ims=;/, 'if-modified-since cleared with cache custom'); - -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/custom/'), qr/iums=;/, 'if-unmodified-since cleared with cache custom'); -} - like(http_get_ims('/custom/'), qr/blah=custom;/, 'custom params with cache custom');
--- a/fastcgi_merge_params2.t Mon Dec 12 21:08:51 2011 +0300 +++ b/fastcgi_merge_params2.t Thu Dec 15 18:48:11 2011 +0300 @@ -67,16 +67,11 @@ ############################################################################### -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/'), qr/ims=;/, 'if-modified-since cleared with cache'); like(http_get_ims('/'), qr/iums=;/, 'if-unmodified-since cleared with cache'); -} - like(http_get_ims('/no/'), qr/ims=blah;/, 'if-modified-since preserved without cache'); like(http_get_ims('/no/'), qr/iums=blah;/,
--- a/proxy_merge_headers.t Mon Dec 12 21:08:51 2011 +0300 +++ b/proxy_merge_headers.t Thu Dec 15 18:48:11 2011 +0300 @@ -79,22 +79,12 @@ like(http_get_ims('/'), qr/ims=;blah=blah;/, 'if-modified-since cleared with cache'); -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/no/'), qr/ims=blah;blah=blah;/, 'if-modified-since preserved without cache'); -} - -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/setbody/'), qr/blah=blah;/, 'proxy_set_header inherited with proxy_set_body'); -} - ############################################################################### sub http_get_ims {
--- a/scgi_merge_params.t Mon Dec 12 21:08:51 2011 +0300 +++ b/scgi_merge_params.t Thu Dec 15 18:48:11 2011 +0300 @@ -75,26 +75,13 @@ like(http_get_ims('/'), qr/ims=;/, 'if-modified-since cleared with cache'); - -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/'), qr/iums=;/, 'if-unmodified-since cleared with cache'); - -} - like(http_get_ims('/'), qr/blah=blah;/, 'custom params with cache'); -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/no/'), qr/ims=blah;/, 'if-modified-since preserved without cache'); - -} - like(http_get_ims('/no/'), qr/iums=blah;/, 'if-unmodified-since preserved without cache'); like(http_get_ims('/'), qr/blah=blah;/, @@ -102,14 +89,8 @@ like(http_get_ims('/custom/'), qr/ims=;/, 'if-modified-since cleared with cache custom'); - -TODO: { -local $TODO = 'not yet'; - like(http_get_ims('/custom/'), qr/iums=;/, 'if-unmodified-since cleared with cache custom'); -} - like(http_get_ims('/custom/'), qr/blah=custom;/, 'custom params with cache custom');