pgsql: Make TestLib::perl2host more consistent and robust

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make TestLib::perl2host more consistent and robust
Date: 2021-07-29 16:18:28
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make TestLib::perl2host more consistent and robust

Sometimes cygpath has been observed to return a path with a trailing
slash. That can cause problems, Also, make "cygpath" usage
consistent with "pwd -W" with respect to the use of forward slashes.

Backpatch to release 14 where the current code was introduced.

Branch
------
master

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

Modified Files
--------------
src/test/perl/TestLib.pm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-07-29 17:26:22 Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows
Previous Message Amit Kapila 2021-07-29 10:30:39 pgsql: Refactor to make common functions in proto.c and worker.c.