mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/perl-test-redisserver: fix test with redis 8
This commit is contained in:
parent
f9b854ba84
commit
2a5180cc96
@ -14,7 +14,9 @@ depends="perl perl-mouse perl-redis redis"
|
||||
makedepends="perl-module-build-tiny"
|
||||
checkdepends="perl-test-tcp"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/S/SO/SONGMU/Test-RedisServer-$pkgver.tar.gz"
|
||||
source="https://cpan.metacpan.org/authors/id/S/SO/SONGMU/Test-RedisServer-$pkgver.tar.gz
|
||||
redis-8.0.0.patch
|
||||
"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
@ -35,4 +37,5 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
57616c36d505a2ff1c933c82b698924a0cfdbf10ae62d98836a93cf7ac093c2595c498a5a039a2b65929cec889f6f3b85cd581f1080e5a28c6d46b0e85f4aacd Test-RedisServer-0.23.tar.gz
|
||||
be42e0bf2bdfe4b40e61d5f3cfb0c70f4e50c890a19759e7810900cd46645256c65314489de41e7cb20cec8cefe73e985515371457f8154da68f9fe627c25738 redis-8.0.0.patch
|
||||
"
|
||||
|
23
testing/perl-test-redisserver/redis-8.0.0.patch
Normal file
23
testing/perl-test-redisserver/redis-8.0.0.patch
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
Loading…
Reference in New Issue
Block a user