Mercurial > hg > nginx-tests
comparison proxy_protocol_ipv6.t @ 1171:cdbdb75cf194
Tests: dropped try_run() checks for hosts without IPv6 support.
Tests for geoip are special as they depend on IPv6 support in the GeoIP library.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 04 May 2017 14:31:10 +0300 |
parents | cf14cfe9ec8c |
children | fcd65708672d |
comparison
equal
deleted
inserted
replaced
1170:cf14cfe9ec8c | 1171:cdbdb75cf194 |
---|---|
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->try_run('no inet6 support')->plan(3); | 67 $t->run()->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'); |