Make TestLib::perl2host more consistent and robust

Andrew Dunstan <andrew@dunslane.net>

Commit: 68011e17d098da66070a2d648a609625241f73f6
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-07-29T16:16:50Z
Releases: 14.0
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.

Files

PathChange+/−
src/test/perl/TestLib.pm modified +5 −1