comparison geo_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 ea796652fcdc
comparison
equal deleted inserted replaced
1189:1c703303feee 1190:fcd65708672d
89 89
90 EOF 90 EOF
91 91
92 $t->write_file('index.html', ''); 92 $t->write_file('index.html', '');
93 $t->write_file('addr', ''); 93 $t->write_file('addr', '');
94 $t->run(); 94 $t->try_run('no inet6 support');
95 95
96 plan(skip_all => 'no ::1 on host') 96 plan(skip_all => 'no ::1 on host')
97 if http_get('/addr') !~ /X-IP: ::1/m; 97 if http_get('/addr') !~ /X-IP: ::1/m;
98 98
99 $t->plan(4); 99 $t->plan(4);