Mercurial > hg > nginx-tests
changeset 341:b86d60e4cb96
Tests: update TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 25 Sep 2013 19:52:05 +0400 |
parents | 9920a522a2de |
children | 86fa2a5a37ea |
files | http_location.t http_location_auto.t |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/http_location.t +++ b/http_location.t @@ -130,7 +130,7 @@ like(http_get('/lowercase'), qr/X-Locati TODO: { local $TODO = 'fails on caseless oses' - if $^O eq 'MSWin32' or $^O eq 'darwin'; + if ($^O eq 'MSWin32' or $^O eq 'darwin') and !$t->has_version('1.5.6'); like(http_get('/UPPERCASE'), qr/X-Location: uppercase/, 'uppercase');
--- a/http_location_auto.t +++ b/http_location_auto.t @@ -66,7 +66,7 @@ EOF ############################################################################### TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.5.6'); like(http_get('/a'), qr/301 Moved/, 'auto redirect');