comparison lib/Test/Nginx.pm @ 1045:3667fe923239

Tests: ipv6 is present by default now.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 04 Oct 2016 17:07:22 +0300
parents 9339673bb454
children fbf731526f49
comparison
equal deleted inserted replaced
1044:1fe8d33f75ad 1045:3667fe923239
226 226
227 if ($feature eq 'udp') { 227 if ($feature eq 'udp') {
228 return $^O ne 'MSWin32'; 228 return $^O ne 'MSWin32';
229 } 229 }
230 230
231 if ($feature eq 'ipv6') {
232 return $self->has_version('1.11.5');
233 }
234
231 return 0; 235 return 0;
232 } 236 }
233 237
234 sub has_version($) { 238 sub has_version($) {
235 my ($self, $need) = @_; 239 my ($self, $need) = @_;