Thread: pgsql: Make TestLib::perl2host more consistent and robust

pgsql: Make TestLib::perl2host more consistent and robust

From
Andrew Dunstan
Date:
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(-)