gentoo-ebuilds/www-nginx/ngx-lua-upstream/files/ngx-lua-upstream-0.07-skip-invalid-tests.patch
Zurab Kvachadze 5030183d01
www-nginx: enable tests for OpenResty modules
This commits enables tests for (almost) all OpenResty www-nginx
packages.

Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam@gentoo.org>
2025-07-05 08:27:08 +01:00

26 lines
680 B
Diff

From 9d8b6160d92a2899e28d4a610a884d160e4a1f38 Mon Sep 17 00:00:00 2001
From: Zurab Kvachadze <zurabid2016@gmail.com>
Date: Sat, 15 Feb 2025 17:58:35 +0100
Subject: [PATCH] Skip invalid tests
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
---
t/sanity.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/sanity.t b/t/sanity.t
index b913f21..f2b22b2 100644
--- a/t/sanity.t
+++ b/t/sanity.t
@@ -1,6 +1,7 @@
# vim:set ft= ts=4 sw=4 et fdm=marker:
-use Test::Nginx::Socket::Lua;
+use Test::Nginx::Socket::Lua skip_all =>
+ 'uses arbitrary hostname with no corresponding server directive';
#worker_connections(1014);
#master_on();
--
2.45.3