pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Consolidate methods for translating a Perl path to a Windows pat
Date: Sat, 22 Jun 2019 04:11:23 +0000
Message-ID: <E1heXN5-0004VV-M8@gemulon.postgresql.org> (raw)

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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/186113b049c50a608b575e2597209e9eda99d83c

Modified Files
--------------
src/test/perl/PostgresNode.pm |  7 +++----
src/test/perl/TestLib.pm      | 28 ++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 4 deletions(-)



view thread (4+ messages)

Message-ID: <E1heXN5-0004VV-M8@gemulon.postgresql.org>
Permalink:  ../E1heXN5-0004VV-M8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1heXN5-0004VV-M8@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Consolidate methods for translating a Perl path to a Windows pat
  In-Reply-To: <E1heXN5-0004VV-M8@gemulon.postgresql.org>
  References: <E1heXN5-0004VV-M8@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox