Mercurial > hg > nginx-tests
comparison gunzip_static.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 |
---|---|
22 select STDERR; $| = 1; | 22 select STDERR; $| = 1; |
23 select STDOUT; $| = 1; | 23 select STDOUT; $| = 1; |
24 | 24 |
25 eval { require IO::Compress::Gzip; }; | 25 eval { require IO::Compress::Gzip; }; |
26 plan(skip_all => "IO::Compress::Gzip not found") if $@; | 26 plan(skip_all => "IO::Compress::Gzip not found") if $@; |
27 plan(skip_all => "IO::Compress::Gzip on win32") if $^O eq 'MSWin32'; | |
27 | 28 |
28 my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/); | 29 my $t = Test::Nginx->new()->has(qw/http gunzip proxy gzip_static rewrite/); |
29 | 30 |
30 $t->write_file_expand('nginx.conf', <<'EOF'); | 31 $t->write_file_expand('nginx.conf', <<'EOF'); |
31 | 32 |