Thread: pgsql: Consolidate methods for translating a Perl path to a Windowspat
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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/660a2b19038b2f6b9f6bcb2c3297a47d5e3557a8 Modified Files -------------- src/bin/pg_checksums/t/002_actions.pl | 2 +- src/test/perl/PostgresNode.pm | 13 ++----------- src/test/perl/TestLib.pm | 29 +++++++++++++++++++---------- src/test/recovery/t/014_unlogged_reinit.pl | 2 +- src/test/recovery/t/017_shm.pl | 11 ++--------- 5 files changed, 25 insertions(+), 32 deletions(-)