From 1638623f34b716cab8e260b11720466223fe2589 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Mon, 4 Mar 2019 17:11:18 -0500 Subject: [PATCH] Disable dump_connstr test on Msys2 For some reason the dump test with names with high bits set fails on Msys2 (although not Msys1). Disable the tests for now, so that other tests can run. --- src/bin/pg_dump/t/010_dump_connstr.pl | 11 ++++++++++- 1 file changed, 10 insertions(+), 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 c40b30f6f2..80ace65bdb 100644 --- a/src/bin/pg_dump/t/010_dump_connstr.pl +++ b/src/bin/pg_dump/t/010_dump_connstr.pl @@ -3,7 +3,16 @@ use warnings; use PostgresNode; use TestLib; -use Test::More tests => 14; +use Test::More; + +if ($^O eq 'msys' && `uname -or` =~ /^2.*Msys/) +{ + plan skip_all => 'High bit name tests fail on Msys2'; +} +else +{ + plan tests => 14; +} # In a SQL_ASCII database, pgwin32_message_to_UTF16() needs to # interpret everything as UTF8. We're going to use byte sequences