# HG changeset patch # User Maxim Dounin # Date 1224170206 -14400 # Node ID 7bf0e8a1d66ca4c518b79a2ede00f3d7e5fee706 # Parent 689174c36e94e8d05b4da9a39e47be4fdf5eb83e Tests: always define temp paths. This is required since nginx tries to create them at startup (and fails if it can't). diff --git a/fastcgi.t b/fastcgi.t --- 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; diff --git a/memcached.t b/memcached.t --- 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; diff --git a/proxy-noclose.t b/proxy-noclose.t --- 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; diff --git a/range-flv.t b/range-flv.t --- 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; diff --git a/range.t b/range.t --- 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 } diff --git a/smtp.t b/smtp.t --- a/smtp.t +++ b/smtp.t @@ -52,6 +52,10 @@ mail { 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; diff --git a/ssi-include-big.t b/ssi-include-big.t --- a/ssi-include-big.t +++ b/ssi-include-big.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; + output_buffers 2 512; ssi on; gzip on;