Disable dump_connstr test on Msys2
authorAndrew Dunstan <[email protected]>
Mon, 4 Mar 2019 22:11:18 +0000 (17:11 -0500)
committerAndrew Dunstan <[email protected]>
Mon, 4 Mar 2019 22:35:54 +0000 (17:35 -0500)
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

index c40b30f6f2b0ba3c5cae8cdcda78916a7d679004..80ace65bdbff955fc8b2f2bddac05900880e42ff 100644 (file)
@@ -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