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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
From e69195edbb7c38135743c4a0c19a6d78d0e7467a Mon Sep 17 00:00:00 2001
From: Zurab Kvachadze <zurabid2016@gmail.com>
Date: Thu, 13 Feb 2025 21:41:35 +0100
Subject: [PATCH] t: Disable invalid tests
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
---
t/000_init.t | 3 ++-
t/conditional-get.t | 3 ++-
t/drizzle-main.t | 3 ++-
t/eval.t | 3 ++-
t/methods.t | 3 ++-
t/postgres-main.t | 3 ++-
t/proxy.t | 3 ++-
t/redis.t | 3 ++-
t/timeout.t | 3 ++-
9 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/t/000_init.t b/t/000_init.t
index b611e6c..06663e6 100644
--- a/t/000_init.t
+++ b/t/000_init.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'Gentoo does not package neither ngx_postgres nor drizzle';
repeat_each(1);
diff --git a/t/conditional-get.t b/t/conditional-get.t
index b652ee6..82daf84 100644
--- a/t/conditional-get.t
+++ b/t/conditional-get.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'uses arbitrary hostname as proxy_pass';
#repeat_each(100);
diff --git a/t/drizzle-main.t b/t/drizzle-main.t
index 5ff11eb..150ce52 100644
--- a/t/drizzle-main.t
+++ b/t/drizzle-main.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'drizzle is not packaged by Gentoo';
#repeat_each(100);
diff --git a/t/eval.t b/t/eval.t
index c109463..bda4dc9 100644
--- a/t/eval.t
+++ b/t/eval.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'Gentoo does not package drizzle';
repeat_each(3);
diff --git a/t/methods.t b/t/methods.t
index 9a57b38..f48e37d 100644
--- a/t/methods.t
+++ b/t/methods.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'uses arbitrary hostname as proxy_pass';
#repeat_each(2);
diff --git a/t/postgres-main.t b/t/postgres-main.t
index ccc00c4..b1e53ea 100644
--- a/t/postgres-main.t
+++ b/t/postgres-main.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'ngx_postgres is not packaged by Gentoo';
#repeat_each(100);
diff --git a/t/proxy.t b/t/proxy.t
index f3e6a31..9eb8678 100644
--- a/t/proxy.t
+++ b/t/proxy.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'Gentoo does not package drizzle';
#repeat_each(100);
diff --git a/t/redis.t b/t/redis.t
index 8af2ff0..ff10a5c 100644
--- a/t/redis.t
+++ b/t/redis.t
@@ -1,7 +1,8 @@
# vi:ft=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'relies on horribly outdated Redis 2.x';
#repeat_each(2);
diff --git a/t/timeout.t b/t/timeout.t
index 9357658..b9a8827 100644
--- a/t/timeout.t
+++ b/t/timeout.t
@@ -1,7 +1,8 @@
# vi:filetype=
use lib 'lib';
-use Test::Nginx::Socket;
+use Test::Nginx::Socket skip_all =>
+ 'uses arbitrary hostname as proxy_pass';
repeat_each(2);
--
2.45.3
|