On Mon, Jan 17, 2022 at 05:25:19PM +1300, Thomas Munro wrote: > Here's how it failed on fairywren, in case someone knowledgeable of > MSYS path translation etc can spot the problem: > > psql:<stdin>:1: ERROR: directory > "/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/modules/test_misc/tmp_check/t_002_tablespace_main_data/ts1" > does not exist > not ok 1 - create tablespace with absolute path > > I think that means chmod() failed with ENOENT. That's weird, because > the .pl does: > > +my $TS1_LOCATION = $node->basedir() . "/ts1"; > +mkdir($TS1_LOCATION);
You likely need a PostgreSQL::Test::Utils::perl2host() call. MSYS Perl understands Cygwin-style names like /home/... as well as Windows-style names, but this PostgreSQL configuration understands only Windows-style names.