Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Adjust to latest Msys2 kernel release number
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 26 Aug 2019 12:11:27 +0000 (08:11 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 26 Aug 2019 12:22:32 +0000 (08:22 -0400)
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

index 28a9eb7dc7515c3a6232fc5b965ed119f3553ae9..1875f180ef16bacc7cf869ae59f45417b3df33bc 100644 (file)
@@ -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';
 }