summaryrefslogtreecommitdiff
path: root/www-nginx/ngx-cache-purge/files/ngx-cache-purge-2.3-do-not-set-proxy_temp_path.patch
blob: 41b33d673eb6149eb92282f1f7070377b15d02cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
From a89fc7f978cf0f5a49a92d23ccc063dad38b964f Mon Sep 17 00:00:00 2001
From: Zurab Kvachadze <zurabid2016@gmail.com>
Date: Mon, 1 Sep 2025 16:06:48 +0200
Subject: [PATCH] tests: Do not set proxy_temp_path

It is unnecessary for the testing and conflicts with proxy_temp_path
settings in Test::Nginx.

Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
---
 t/proxy1.t      | 1 -
 t/proxy1_vars.t | 1 -
 t/proxy2.t      | 1 -
 t/proxy2_vars.t | 1 -
 4 files changed, 4 deletions(-)

diff --git a/t/proxy1.t b/t/proxy1.t
index e5c0054..a9dcc7e 100644
--- a/t/proxy1.t
+++ b/t/proxy1.t
@@ -9,7 +9,6 @@ plan tests => repeat_each() * (blocks() * 4 + 3 * 1);
 
 our $http_config = <<'_EOC_';
     proxy_cache_path  /tmp/ngx_cache_purge_cache keys_zone=test_cache:10m;
-    proxy_temp_path   /tmp/ngx_cache_purge_temp 1 2;
 _EOC_
 
 our $config = <<'_EOC_';
diff --git a/t/proxy1_vars.t b/t/proxy1_vars.t
index af3553d..7049463 100644
--- a/t/proxy1_vars.t
+++ b/t/proxy1_vars.t
@@ -9,7 +9,6 @@ plan tests => repeat_each() * (blocks() * 4 + 3 * 1);
 
 our $http_config = <<'_EOC_';
     proxy_cache_path  /tmp/ngx_cache_purge_cache keys_zone=test_cache:10m;
-    proxy_temp_path   /tmp/ngx_cache_purge_temp 1 2;
 _EOC_
 
 our $config = <<'_EOC_';
diff --git a/t/proxy2.t b/t/proxy2.t
index c07b042..24e0744 100644
--- a/t/proxy2.t
+++ b/t/proxy2.t
@@ -9,7 +9,6 @@ plan tests => repeat_each() * (blocks() * 4 + 6 * 1);
 
 our $http_config = <<'_EOC_';
     proxy_cache_path  /tmp/ngx_cache_purge_cache keys_zone=test_cache:10m;
-    proxy_temp_path   /tmp/ngx_cache_purge_temp 1 2;
 _EOC_
 
 our $config = <<'_EOC_';
diff --git a/t/proxy2_vars.t b/t/proxy2_vars.t
index d09c08e..d505390 100644
--- a/t/proxy2_vars.t
+++ b/t/proxy2_vars.t
@@ -9,7 +9,6 @@ plan tests => repeat_each() * (blocks() * 4 + 6 * 1);
 
 our $http_config = <<'_EOC_';
     proxy_cache_path  /tmp/ngx_cache_purge_cache keys_zone=test_cache:10m;
-    proxy_temp_path   /tmp/ngx_cache_purge_temp 1 2;
 _EOC_
 
 our $config = <<'_EOC_';
-- 
2.49.1