aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2019-08-26 08:11:27 -0400
committerAndrew Dunstan <andrew@dunslane.net>2019-08-26 08:22:32 -0400
commitad9b419f7cbe82ef843b74a983e7cad656d96ebf (patch)
treefe048f4d69f3e54d1c41b252bb0d3ab6741a3376
parent3a1417c4265b93d7fdfcdbcb9c9fc18cbbff3b5b (diff)
downloadpostgresql-ad9b419f7cbe82ef843b74a983e7cad656d96ebf.tar.gz
postgresql-ad9b419f7cbe82ef843b74a983e7cad656d96ebf.zip
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.
-rw-r--r--src/bin/pg_dump/t/010_dump_connstr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/t/010_dump_connstr.pl b/src/bin/pg_dump/t/010_dump_connstr.pl
index 28a9eb7dc75..1875f180ef1 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';
}