comparison geo_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
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->try_run('no inet6 support'); 94 $t->run();
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);