]> 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:58:42 +0000 (20:58 -0700)
commit6121ba9d18efa30d09db80708c1e222c81daff97
tree383f8b27c674b71d1388159403da15ca46c620e9
parentdf098c371b882eeafa168501f0d20330c9a186fc
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