Mercurial > hg > nginx-tests
comparison lib/Test/Nginx.pm @ 106:7a712d3909ba
Tests: add cache availability checks.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 13 Oct 2009 05:16:45 +0400 |
parents | 8bc9de6559a1 |
children | 1c0ec30614c6 |
comparison
equal
deleted
inserted
replaced
105:bb5b5e69b45e | 106:7a712d3909ba |
---|---|
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 gzip => '(?s)^(?!.*--without-http_gzip_module)', |
62 cache => '(?s)^(?!.*--without-http-cache)', | |
62 ); | 63 ); |
63 | 64 |
64 my $re = $regex{$feature}; | 65 my $re = $regex{$feature}; |
65 $re = $feature if !defined $re; | 66 $re = $feature if !defined $re; |
66 | 67 |