# HG changeset patch # User Sergey Kandaurov # Date 1409215271 -14400 # Node ID a65cb9330c91967b271b6727ed2e8e7520dd71c4 # Parent 11d324ee4def0547000f93344c78f4e17b4b9d8e Tests: adjusted resolver and rewrite TODOs. diff --git a/http_resolver.t b/http_resolver.t --- 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'); diff --git a/rewrite_set.t b/rewrite_set.t --- 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');