aports/testing/perl-test-redisserver/redis-8.0.0.patch

24 lines
822 B
Diff

Patch-Source: https://github.com/typester/Test-RedisServer/pull/18
--
From f31b9f89489e0338894c648651affd8064f51350 Mon Sep 17 00:00:00 2001
From: gregor herrmann <gregoa@debian.org>
Date: Thu, 29 May 2025 00:26:55 +0200
Subject: [PATCH] Adjust test to redis 8.0.0
---
t/unknown_conf.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/unknown_conf.t b/t/unknown_conf.t
index bb2f423..0583b9a 100644
--- a/t/unknown_conf.t
+++ b/t/unknown_conf.t
@@ -15,6 +15,6 @@ eval {
ok !$server, 'server did not initialize ok';
-like $@, qr/\*\*\* FATAL CONFIG FILE ERROR( \([^\)]+\))? \*\*\*/, 'error msg ok';
+like $@, qr/(?:\*\*\* FATAL CONFIG FILE ERROR( \([^\)]+\))? \*\*\*|Module Configuration detected without loadmodule directive or no ApplyConfig call: aborting)/, 'error msg ok';
done_testing;