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