Mercurial > hg > nginx-tests
comparison proxy_protocol_ipv6.t @ 1190:fcd65708672d
Tests: let tests pass on travis-ci VMs with disabled IPv6 loopback.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 15 Jun 2017 19:42:26 +0300 |
parents | cdbdb75cf194 |
children | f3ba4c74de31 |
comparison
equal
deleted
inserted
replaced
1189:1c703303feee | 1190:fcd65708672d |
---|---|
62 } | 62 } |
63 | 63 |
64 EOF | 64 EOF |
65 | 65 |
66 $t->write_file('t', 'SEE-THIS'); | 66 $t->write_file('t', 'SEE-THIS'); |
67 $t->run()->plan(3); | 67 $t->try_run('no inet6 support')->plan(3); |
68 | 68 |
69 ############################################################################### | 69 ############################################################################### |
70 | 70 |
71 my $r = http_get('/t'); | 71 my $r = http_get('/t'); |
72 like($r, qr/X-IP: ::1/, 'realip'); | 72 like($r, qr/X-IP: ::1/, 'realip'); |