[exim-cvs] Testsuite: perl version oddity

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Testsuite: perl version oddity
Gitweb: https://git.exim.org/exim.git/commitdiff/af8a610f0b90ae66f32b7c6ec31381bdd8457b59
Commit:     af8a610f0b90ae66f32b7c6ec31381bdd8457b59
Parent:     fd0a407eb80151d554a057eca8965abcbfd9a7a1
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue May 21 12:35:04 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue May 21 12:35:04 2024 +0100


    Testsuite: perl version oddity


    Obsoletes: fd0a407eb801
    Broken-by: 235ef8b38301
---
 test/runtest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index f626cb4ee..3fe7fe044 100755
--- a/test/runtest
+++ b/test/runtest
@@ -120,7 +120,7 @@ my $parm_hostname;
my $re_ipv4 = qr/\d{1,3}(?:\.\d{1,3}){3}/;
my $re_6g = qr/[[:xdigit:]]{1,4}/;
my $re_6s = qr/${re_6g}:/;
-my $re_ipv6 = qr/(?:${re_6s}){,7}${re_6g}(?:::(?:${re_6s}){,5}${re_6g})?/;
+my $re_ipv6 = qr/${re_6s}{,7}${re_6g}(?:::${re_6s}{,5}${re_6g})?/;
my $re_ip = qr/(?:${re_ipv4}|${re_ipv6})/;

###############################################################################
@@ -3362,7 +3362,7 @@ if (defined $parm_lookups{redis})

sub check_running_dovecot
{
-system('dovecot --version >/dev/null');
+system('dovecot --version >/dev/null 2>&1');
if ($? == 0)
{
print "Dovecot appears to be available\n";

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/