Mercurial > hg > nginx-tests
changeset 455:a65cb9330c91
Tests: adjusted resolver and rewrite TODOs.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 28 Aug 2014 12:41:11 +0400 |
parents | 11d324ee4def |
children | 858e93175802 |
files | http_resolver.t rewrite_set.t |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/http_resolver.t +++ b/http_resolver.t @@ -237,7 +237,7 @@ like(http_end($s), qr/200 OK/, 'resend a my $s2 = http_get('/bad', start => 1); TODO: { -local $TODO = 'hangs'; +local $TODO = 'hangs' unless $t->has_version('1.7.5'); http_end($s); ok(http_end($s2), 'timeout handler on 2nd request');
--- a/rewrite_set.t +++ b/rewrite_set.t @@ -76,10 +76,11 @@ EOF # prefixed variables TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.5'); SKIP: { -skip 'leaves coredump', 2 unless $ENV{TEST_NGINX_UNSAFE}; +skip 'leaves coredump', 2 unless $t->has_version('1.7.5') + or $ENV{TEST_NGINX_UNSAFE}; like(http_get_extra('/t1.html', 'Foo: http_foo'), qr/Xset_fooX/, 'set in this context');