comparison gunzip_ssi.t @ 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 c877f91a71b4
children cbd26265d9a3
comparison
equal deleted inserted replaced
773:c877f91a71b4 774:adc32621fb09
21 select STDERR; $| = 1; 21 select STDERR; $| = 1;
22 select STDOUT; $| = 1; 22 select STDOUT; $| = 1;
23 23
24 eval { require IO::Compress::Gzip; }; 24 eval { require IO::Compress::Gzip; };
25 plan(skip_all => "IO::Compress::Gzip not found") if $@; 25 plan(skip_all => "IO::Compress::Gzip not found") if $@;
26 plan(skip_all => "IO::Compress::Gzip on win32") if $^O eq 'MSWin32';
26 27
27 my $t = Test::Nginx->new()->has(qw/http gunzip ssi proxy gzip_static/) 28 my $t = Test::Nginx->new()->has(qw/http gunzip ssi proxy gzip_static/)
28 ->plan(4); 29 ->plan(4);
29 30
30 $t->write_file_expand('nginx.conf', <<'EOF'); 31 $t->write_file_expand('nginx.conf', <<'EOF');