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
index 9ff4e5b..98605b1 100644
--- a/fastcgi.t
+++ b/fastcgi.t
@@ -39,6 +39,10 @@
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
index 2e5ade6..b40de39 100644
--- a/memcached.t
+++ b/memcached.t
@@ -39,6 +39,10 @@
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
index b04d997..cf4b0bb 100644
--- a/proxy-noclose.t
+++ b/proxy-noclose.t
@@ -47,6 +47,10 @@
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
index fdfe3d9..5190bc0 100644
--- a/range-flv.t
+++ b/range-flv.t
@@ -36,6 +36,10 @@
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
index e0dce49..edc2123 100644
--- a/range.t
+++ b/range.t
@@ -36,6 +36,10 @@
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
index 1f51108..a66fcdc 100644
--- a/smtp.t
+++ b/smtp.t
@@ -52,6 +52,10 @@
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
index d132794..6794b25 100644
--- a/ssi-include-big.t
+++ b/ssi-include-big.t
@@ -36,6 +36,10 @@
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;