pgsql: Consolidate methods for translating a Perl path to a Windows pat

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Consolidate methods for translating a Perl path to a Windows pat
Date: 2019-06-22 04:11:23
Message-ID: E1heXN5-0004VS-Lm@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Consolidate methods for translating a Perl path to a Windows path.

This fixes some TAP suites when using msys Perl and a builddir located
in an msys mount point other than "/". For example, builddir=/c/pg
exhibited the problem, since /c/pg falls in mount point "/c".
Back-patch to 9.6, where tests first started to perform such
translations. In back branches, offer both new and old APIs.

Reviewed by Andrew Dunstan.

Discussion: https://postgr.es/m/20190610045838.GA238501@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a40dca815dd1d703623f774059b103a13f85e0f1

Modified Files
--------------
src/test/perl/PostgresNode.pm | 7 +++---
src/test/perl/TestLib.pm | 35 +++++++++++++++++++++---------
src/test/recovery/t/014_unlogged_reinit.pl | 2 +-
src/test/recovery/t/017_shm.pl | 11 ++--------
4 files changed, 31 insertions(+), 24 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-06-23 00:32:17 pgsql: Fix spinlock assembly code for MIPS so it works on MIPS r6.
Previous Message Thomas Munro 2019-06-20 23:01:33 pgsql: Remove obsolete comments about sempahores from proc.c.