Re: TAP tests and symlinks on Windows

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: TAP tests and symlinks on Windows
Дата
Msg-id 6c5ffed0-20ee-8878-270f-ab56b7023802@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: TAP tests and symlinks on Windows  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: TAP tests and symlinks on Windows  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 6/16/20 8:24 AM, Peter Eisentraut wrote:
> On 2020-06-09 09:33, Juan José Santamaría Flecha wrote:
>> The difference seems to be MSYS2, it also fails for me if I do not
>> include 'Win32::Symlink' with Perl 5.30.2.
>
> MSYS2, which is basically Cygwin, emulates symlinks with junction
> points, so this happens to work for our purpose.  We could therefore
> enable these tests in that environment, if we could come up with a
> reliable way to detect it.


From src/bin/pg_dump/t/010_dump_connstr.pl:


    if ($^O eq 'msys' && `uname -or` =~ /^[2-9].*Msys/)


cheers


andrew

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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: TAP tests and symlinks on Windows
Следующее
От: Georgios
Дата:
Сообщение: Re: Include access method in listTables output