comparison perl_gzip.t @ 777:cbd26265d9a3

Tests: reverted adc32621fb09.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 05 Nov 2015 20:07:01 +0300
parents adc32621fb09
children e9064d691790
comparison
equal deleted inserted replaced
776:3fc382902cba 777:cbd26265d9a3
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';
27 26
28 my $t = Test::Nginx->new()->has(qw/http perl gzip/)->plan(2) 27 my $t = Test::Nginx->new()->has(qw/http perl gzip/)->plan(2)
29 ->write_file_expand('nginx.conf', <<'EOF'); 28 ->write_file_expand('nginx.conf', <<'EOF');
30 29
31 %%TEST_GLOBALS%% 30 %%TEST_GLOBALS%%