Mercurial > hg > nginx-tests
comparison lib/Test/Nginx.pm @ 104:8bc9de6559a1
Tests: add gzip module checks.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 13 Oct 2009 02:17:52 +0400 |
parents | 9ddc18214854 |
children | 7a712d3909ba |
comparison
equal
deleted
inserted
replaced
103:4ae2198b97ec | 104:8bc9de6559a1 |
---|---|
56 | 56 |
57 my %regex = ( | 57 my %regex = ( |
58 mail => '--with-mail', | 58 mail => '--with-mail', |
59 flv => '--with-http_flv_module', | 59 flv => '--with-http_flv_module', |
60 rewrite => '(?s)^(?!.*--without-http_rewrite_module)', | 60 rewrite => '(?s)^(?!.*--without-http_rewrite_module)', |
61 gzip => '(?s)^(?!.*--without-http_gzip_module)', | |
61 ); | 62 ); |
62 | 63 |
63 my $re = $regex{$feature}; | 64 my $re = $regex{$feature}; |
64 $re = $feature if !defined $re; | 65 $re = $feature if !defined $re; |
65 | 66 |