diff 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
line wrap: on
line diff
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -176,6 +176,10 @@ sub has_feature($) {
 		return $^O ne 'MSWin32' || $self->has_version('1.9.0');
 	}
 
+	if ($feature eq 'unix') {
+		return $^O ne 'MSWin32';
+	}
+
 	return 0;
 }