Mercurial > hg > nginx-tests
comparison proxy.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | cdbdb75cf194 |
children | 16a8962ff246 |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
77 unlike(http_head('/'), qr/SEE-THIS/, 'proxy head request'); | 77 unlike(http_head('/'), qr/SEE-THIS/, 'proxy head request'); |
78 | 78 |
79 like(http_get('/var?b=127.0.0.1:' . port(8081) . '/'), qr/SEE-THIS/, | 79 like(http_get('/var?b=127.0.0.1:' . port(8081) . '/'), qr/SEE-THIS/, |
80 'proxy with variables'); | 80 'proxy with variables'); |
81 like(http_get('/var?b=u/'), qr/SEE-THIS/, 'proxy with variables to upstream'); | 81 like(http_get('/var?b=u/'), qr/SEE-THIS/, 'proxy with variables to upstream'); |
82 | |
83 TODO: { | |
84 todo_skip 'heap-buffer-overflow', 1 | |
85 unless $ENV{TEST_NGINX_UNSAFE} or $t->has_version('1.11.0'); | |
86 | |
87 ok(http_get("/var?b=[::]"), 'proxy with variables - no ipv6 port'); | 82 ok(http_get("/var?b=[::]"), 'proxy with variables - no ipv6 port'); |
88 | |
89 } | |
90 | 83 |
91 like(http_get('/timeout'), qr/200 OK/, 'proxy connect timeout'); | 84 like(http_get('/timeout'), qr/200 OK/, 'proxy connect timeout'); |
92 | 85 |
93 ############################################################################### | 86 ############################################################################### |
94 | 87 |