comparison lib/Test/Nginx.pm @ 947:b9e42c554ba7

Tests: skip UDP tests on win32, udp feature introduced. The UDP sockets are not supported in nginx on this platform.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 17 Jun 2016 11:17:10 +0300
parents 8d489e743fcb
children 9361c7eddfc1
comparison
equal deleted inserted replaced
946:e3df9c2100de 947:b9e42c554ba7
196 196
197 if ($feature eq 'unix') { 197 if ($feature eq 'unix') {
198 return $^O ne 'MSWin32'; 198 return $^O ne 'MSWin32';
199 } 199 }
200 200
201 if ($feature eq 'udp') {
202 return $^O ne 'MSWin32';
203 }
204
201 return 0; 205 return 0;
202 } 206 }
203 207
204 sub has_version($) { 208 sub has_version($) {
205 my ($self, $need) = @_; 209 my ($self, $need) = @_;