diff lib/Test/Nginx.pm @ 774:adc32621fb09

Tests: skip IO::Compress::Gzip on win32.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 05 Nov 2015 12:56:35 +0300
parents fca0079e0aab
children cbd26265d9a3
line wrap: on
line diff
--- a/lib/Test/Nginx.pm
+++ b/lib/Test/Nginx.pm
@@ -641,6 +641,9 @@ sub http_gzip_like {
 		eval { require IO::Uncompress::Gunzip; };
 		Test::More::skip(
 			"IO::Uncompress::Gunzip not installed", 1) if $@;
+		Test::More::skip(
+			"IO::Uncompress::Gunzip on win32", 1)
+			if $^O eq 'MSWin32';
 
 		my $in = http_content($text);
 		my $out;