Re: TAP tests and symlinks on Windows

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: TAP tests and symlinks on Windows
Date: 2020-07-08 16:16:25
Message-ID: 9a53d651-8082-1b4d-1dbe-6b98afc21916@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 7/8/20 11:07 AM, Juan José Santamaría Flecha wrote:
>
> On Wed, Jul 8, 2020 at 3:54 PM Andrew Dunstan
> <andrew(dot)dunstan(at)2ndquadrant(dot)com
> <mailto:andrew(dot)dunstan(at)2ndquadrant(dot)com>> wrote:
>
>
> Incidentally, perl2host is arguably a bad name for this routine -
> there
> is nothing perl-specific about the paths, they are provided by the
> msys
> environment. Maybe virtual2host or some such would be a better
> name, or
> even just host_path or native_path.
>
>
> There is a utility cygpath [1] meant for the conversion between Unix
> and Windows path formats, that might be a meaningful name also.
>
> [1] http://cygwin.net/cygwin-ug-net/cygpath.html
>
>

Oh, good find. But unfortunately it's not present in my msys1 installations.

So we'll still need to use the 'pwd -W` trick for those.

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2020-07-08 16:20:31 Re: max_slot_wal_keep_size and wal_keep_segments
Previous Message Peter Eisentraut 2020-07-08 16:03:48 Re: OpenSSL 3.0.0 compatibility