Mercurial > hg > nginx-tests
changeset 328:290d539efcb4
Tests: referer TODO adjusted.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 29 Aug 2013 22:47:12 +0400 |
parents | dacd55fa2cde |
children | 98c6af2a5138 |
files | referer.t |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/referer.t +++ b/referer.t @@ -139,7 +139,7 @@ ok(!valid('/wc', 'http://example.' . 'a' ok(valid('/long', 'http://' . 'a' x 255), 'long hostname 255'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.5.5'); ok(valid('/long', 'http://' . 'a' x 256), 'long hostname 256'); @@ -177,7 +177,7 @@ ok(valid('/sn', 'http://localhost/uri'), ok(valid('/sn', 'http://foobar'), 'server_names regex'); TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.5.5'); ok(valid('/sn', 'http://foobAr'), 'server_names regex caseless'); ok(valid('/sn', 'http://foobAr/uri'), 'server_names regex caseless uri'); @@ -201,7 +201,7 @@ ok(valid('/', 'http://another', 'another # server_name below valid_referers TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.5.5'); ok(valid('/', 'http://below', 'below'), 'server below');