Mercurial > hg > nginx-tests
changeset 35:7bf0e8a1d66c
Tests: always define temp paths.
This is required since nginx tries to create them at startup (and fails if
it can't).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 16 Oct 2008 19:16:46 +0400 |
parents | 689174c36e94 |
children | bd1a5e92d0c0 |
files | fastcgi.t memcached.t proxy-noclose.t range-flv.t range.t smtp.t ssi-include-big.t |
diffstat | 7 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/fastcgi.t +++ b/fastcgi.t @@ -39,6 +39,10 @@ events { http { access_log off; + client_body_temp_path %%TESTDIR%%/client_body_temp; + fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; + proxy_temp_path %%TESTDIR%%/proxy_temp; + server { listen localhost:8080; server_name localhost;
--- a/memcached.t +++ b/memcached.t @@ -39,6 +39,10 @@ events { http { access_log off; + client_body_temp_path %%TESTDIR%%/client_body_temp; + fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; + proxy_temp_path %%TESTDIR%%/proxy_temp; + server { listen localhost:8080; server_name localhost;
--- a/proxy-noclose.t +++ b/proxy-noclose.t @@ -47,6 +47,10 @@ http { access_log off; root %%TESTDIR%%; + client_body_temp_path %%TESTDIR%%/client_body_temp; + fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; + proxy_temp_path %%TESTDIR%%/proxy_temp; + server { listen localhost:8080; server_name localhost;
--- a/range-flv.t +++ b/range-flv.t @@ -36,6 +36,10 @@ http { access_log off; root %%TESTDIR%%; + client_body_temp_path %%TESTDIR%%/client_body_temp; + fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; + proxy_temp_path %%TESTDIR%%/proxy_temp; + server { listen localhost:8080; server_name localhost;
--- a/range.t +++ b/range.t @@ -36,6 +36,10 @@ http { access_log off; root %%TESTDIR%%; + client_body_temp_path %%TESTDIR%%/client_body_temp; + fastcgi_temp_path %%TESTDIR%%/fastcgi_temp; + proxy_temp_path %%TESTDIR%%/proxy_temp; + charset_map B A { 58 59; # X -> Y }