postgres.git / summary / log / commit / refs
commit b4e7b91011dc2287a700ffe93152aafa9852144b
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Mon Aug 26 12:11:27 2019 +0000
First released in: 13.0, 10.11, 11.6, 12.0
Adjust to latest Msys2 kernel release number
Previously 'uname -r' on Msys2 reported a kernele release starting with
2. The latest version starts with 3. In commit 1638623f we specifically
looked for one starting with 2. This is now changed to look for any
digit between 2 and 9.
backpatch to release 10.
src/bin/pg_dump/t/010_dump_connstr.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_dump/t/010_dump_connstr.pl b/src/bin/pg_dump/t/010_dump_connstr.pl
index 6807b324669..8c40cbf99ff 100644
--- a/src/bin/pg_dump/t/010_dump_connstr.pl
+++ b/src/bin/pg_dump/t/010_dump_connstr.pl
@@ -5,7 +5,7 @@ use PostgresNode;
use TestLib;
use Test::More;
-if ($^O eq 'msys' && `uname -or` =~ /^2.*Msys/)
+if ($^O eq 'msys' && `uname -or` =~ /^[2-9].*Msys/)
{
plan skip_all => 'High bit name tests fail on Msys2';
}
[parent: 01c5ef99cc0c]