Tests: header merge bugs fixed 1.1.8/1.0.11, remove TODO.
diff --git a/fastcgi_merge_params.t b/fastcgi_merge_params.t index 2dd471f..cdfaf98 100644 --- a/fastcgi_merge_params.t +++ b/fastcgi_merge_params.t
@@ -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');
diff --git a/fastcgi_merge_params2.t b/fastcgi_merge_params2.t index 1f9dcbf..203c238 100644 --- a/fastcgi_merge_params2.t +++ b/fastcgi_merge_params2.t
@@ -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;/,
diff --git a/proxy_merge_headers.t b/proxy_merge_headers.t index b6b3a0b..dc64130 100644 --- a/proxy_merge_headers.t +++ b/proxy_merge_headers.t
@@ -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 {
diff --git a/scgi_merge_params.t b/scgi_merge_params.t index 1e43ad5..b4f8327 100644 --- a/scgi_merge_params.t +++ b/scgi_merge_params.t
@@ -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');