Mercurial > hg > nginx-tests
diff http_resolver.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | e4974af3fb12 |
line wrap: on
line diff
--- a/http_resolver.t +++ b/http_resolver.t @@ -282,16 +282,11 @@ like(http_end($s2), qr/502 Bad/, 'timeou # resend DNS query over TCP once UDP response came truncated -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.9.11'); - unlike(http_host_header('tcp.example.net', '/tcp'), qr/127.0.0.201/, 'tc'); like(http_host_header('tcp.example.net', '/tcp'), qr/X-IP: 127.0.0.1/, 'tcp'); like(http_host_header('tcp2.example.net', '/tcp2'), qr/X-IP: 127.0.0.1/, 'tcp with resend'); -} - ############################################################################### sub http_host_header {