Mercurial > hg > nginx-tests
comparison gunzip_ssi.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 gunzip ssi proxy gzip_static/) | 27 my $t = Test::Nginx->new()->has(qw/http gunzip ssi proxy gzip_static/) |
29 ->plan(4); | 28 ->plan(4); |
30 | 29 |
31 $t->write_file_expand('nginx.conf', <<'EOF'); | 30 $t->write_file_expand('nginx.conf', <<'EOF'); |