Mercurial > hg > nginx-tests
changeset 139:8b62dd9b8615
Tests: set temp paths for uwsgi and scgi modules.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sat, 17 Jul 2010 16:59:42 +0400 |
parents | 0d11b58d63bc |
children | 3f246a1be2b0 |
files | lib/Test/Nginx.pm |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/Test/Nginx.pm Sat Jul 17 16:55:32 2010 +0400 +++ b/lib/Test/Nginx.pm Sat Jul 17 16:59:42 2010 +0400 @@ -84,6 +84,8 @@ rewrite => '(?s)^(?!.*--without-http_rewrite_module)', proxy => '(?s)^(?!.*--without-http_proxy_module)', fastcgi => '(?s)^(?!.*--without-http_fastcgi_module)', + uwsgi => '(?s)^(?!.*--without-http_uwsgi_module)', + scgi => '(?s)^(?!.*--without-http_scgi_module)', memcached => '(?s)^(?!.*--without-http_memcached_module)', limit_zone @@ -289,6 +291,12 @@ $s .= "proxy_temp_path $self->{_testdir}/proxy_temp;\n" if $self->has_module('proxy'); + $s .= "uwsgi_temp_path $self->{_testdir}/uwsgi_temp;\n" + if $self->has_module('uwsgi'); + + $s .= "scgi_temp_path $self->{_testdir}/scgi_temp;\n" + if $self->has_module('scgi'); + $self->{_test_globals_http} = $s; }