comparison lib/Test/Nginx.pm @ 800:51d3243a762f

Tests: skip tests with unix domain sockets on win32. The unix domain sockets are not supported on this platform.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 09 Dec 2015 17:49:30 +0300
parents 9e00ab661e87
children b237eda210e3
comparison
equal deleted inserted replaced
799:bf87c406f81d 800:51d3243a762f
174 174
175 if ($feature eq 'shmem') { 175 if ($feature eq 'shmem') {
176 return $^O ne 'MSWin32' || $self->has_version('1.9.0'); 176 return $^O ne 'MSWin32' || $self->has_version('1.9.0');
177 } 177 }
178 178
179 if ($feature eq 'unix') {
180 return $^O ne 'MSWin32';
181 }
182
179 return 0; 183 return 0;
180 } 184 }
181 185
182 sub has_version($) { 186 sub has_version($) {
183 my ($self, $need) = @_; 187 my ($self, $need) = @_;