Mercurial > hg > nginx-tests
comparison 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 |
comparison
equal
deleted
inserted
replaced
773:c877f91a71b4 | 774:adc32621fb09 |
---|---|
639 | 639 |
640 SKIP: { | 640 SKIP: { |
641 eval { require IO::Uncompress::Gunzip; }; | 641 eval { require IO::Uncompress::Gunzip; }; |
642 Test::More::skip( | 642 Test::More::skip( |
643 "IO::Uncompress::Gunzip not installed", 1) if $@; | 643 "IO::Uncompress::Gunzip not installed", 1) if $@; |
644 Test::More::skip( | |
645 "IO::Uncompress::Gunzip on win32", 1) | |
646 if $^O eq 'MSWin32'; | |
644 | 647 |
645 my $in = http_content($text); | 648 my $in = http_content($text); |
646 my $out; | 649 my $out; |
647 | 650 |
648 IO::Uncompress::Gunzip::gunzip(\$in => \$out); | 651 IO::Uncompress::Gunzip::gunzip(\$in => \$out); |