Mercurial > hg > nginx-tests
comparison lib/Test/Nginx.pm @ 865:f8f8304c8832
Tests: added support for perl dynamic module.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 10 Mar 2016 18:51:23 +0300 |
parents | 6868e610eacc |
children | f4189a38c3a4 |
comparison
equal
deleted
inserted
replaced
864:460a9cadbd2f | 865:f8f8304c8832 |
---|---|
478 my $s = ''; | 478 my $s = ''; |
479 | 479 |
480 $s .= "load_module $modules/ngx_http_image_filter_module.so;\n" | 480 $s .= "load_module $modules/ngx_http_image_filter_module.so;\n" |
481 if $self->has_module('image_filter\S+=dynamic'); | 481 if $self->has_module('image_filter\S+=dynamic'); |
482 | 482 |
483 $s .= "load_module $modules/ngx_http_perl_module.so;\n" | |
484 if $self->has_module('perl\S+=dynamic'); | |
485 | |
483 $s .= "load_module $modules/ngx_http_xslt_filter_module.so;\n" | 486 $s .= "load_module $modules/ngx_http_xslt_filter_module.so;\n" |
484 if $self->has_module('xslt\S+=dynamic'); | 487 if $self->has_module('xslt\S+=dynamic'); |
485 | 488 |
486 $s .= "load_module $modules/ngx_mail_module.so;\n" | 489 $s .= "load_module $modules/ngx_mail_module.so;\n" |
487 if $self->has_module('mail=dynamic'); | 490 if $self->has_module('mail=dynamic'); |