Mercurial > hg > nginx-tests
diff http_location.t @ 397:847ea345becb
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 05 May 2014 11:46:01 +0400 |
parents | e7dc8f4d0a4b |
children | e9064d691790 |
line wrap: on
line diff
--- a/http_location.t +++ b/http_location.t @@ -122,18 +122,11 @@ SKIP: { 'casefull regex do not match wrong case'); } -# on case-insensitive systems a request to "/UPPERCASE" fails, -# as location search tree is incorrectly sorted if uppercase +# on case-insensitive systems a request to "/UPPERCASE" might fail, +# if location search tree is incorrectly sorted and uppercase # characters are used in location directives (ticket #90) like(http_get('/lowercase'), qr/X-Location: lowercase/, 'lowercase'); - -TODO: { -local $TODO = 'fails on caseless oses' - if ($^O eq 'MSWin32' or $^O eq 'darwin') and !$t->has_version('1.5.6'); - like(http_get('/UPPERCASE'), qr/X-Location: uppercase/, 'uppercase'); -} - ###############################################################################