Blame SOURCES/DBD-Pg-3.7.4-Fix-test-to-allow-for-changed-message-of-pg_ctl-outp.patch

810534
From 575c869da97a9f387cb26016f521e02b2708eb71 Mon Sep 17 00:00:00 2001
810534
From: Erik Rijkers <er@xs4all.nl>
810534
Date: Mon, 8 Apr 2019 21:53:17 -0400
810534
Subject: [PATCH] Fix test to allow for changed message of pg_ctl output. CPAN
810534
 RT #128966
810534
MIME-Version: 1.0
810534
Content-Type: text/plain; charset=UTF-8
810534
Content-Transfer-Encoding: 8bit
810534
810534
Signed-off-by: Petr Písař <ppisar@redhat.com>
810534
---
810534
 t/dbdpg_test_setup.pl | 2 +-
810534
 1 file changed, 1 insertion(+), 1 deletion(-)
810534
810534
diff --git a/t/dbdpg_test_setup.pl b/t/dbdpg_test_setup.pl
810534
index 24f44ab..8dd17a2 100644
810534
--- a/t/dbdpg_test_setup.pl
810534
+++ b/t/dbdpg_test_setup.pl
810534
@@ -331,7 +331,7 @@ version: $version
810534
 			$info = qx{$pg_ctl --help 2>&1;;
810534
 		};
810534
 		last GETHANDLE if $@; ## Fail - pg_ctl bad
810534
-		if (!defined $info or ($info !~ /\@postgresql\.org/ and $info !~ /run as root/)) {
810534
+		if (!defined $info or ($info !~ /\@[a-z.-]*?postgresql\.org/ and $info !~ /run as root/)) {
810534
 			$@ = defined $initdb ? "Bad pg_ctl output: $info" : 'Bad pg_ctl output';
810534
 			last GETHANDLE; ## Fail - pg_ctl bad
810534
 		}
810534
-- 
810534
2.21.0
810534