comparison stream_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
84 } 84 }
85 } 85 }
86 86
87 EOF 87 EOF
88 88
89 $t->try_run('no stream geo and/or inet6 support')->plan(6); 89 $t->try_run('no stream geo')->plan(6);
90 90
91 ############################################################################### 91 ###############################################################################
92 92
93 my %data = stream()->read() =~ /(\w+):(\w+)/g; 93 my %data = stream()->read() =~ /(\w+):(\w+)/g;
94 is($data{geo}, 'loopback', 'geo ipv6'); 94 is($data{geo}, 'loopback', 'geo ipv6');