]> granicus.if.org Git - postgresql/commit
Consolidate methods for translating a Perl path to a Windows path.
authorNoah Misch <noah@leadboat.com>
Sat, 22 Jun 2019 03:34:23 +0000 (20:34 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 22 Jun 2019 03:59:38 +0000 (20:59 -0700)
commit186113b049c50a608b575e2597209e9eda99d83c
tree05ce71bd4aec950a154a5cd965fe577b9e95f417
parentfe755edc5c7613de062aeb111763ffa8e6b902c4
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
src/test/perl/PostgresNode.pm
src/test/perl/TestLib.pm