postgres.git / summary / log / commit / refs

commit    1638623f34b716cab8e260b11720466223fe2589
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Mon Mar 04 22:11:18 2019 +0000
First released in: 12.0, 10.8, 11.3

    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 c40b30f6f2b..80ace65bdbf 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 [parent: 4eff1e9f0bf7]