pgsql: Fix 003_extrafiles.pl test for the Windows

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Fix 003_extrafiles.pl test for the Windows
Дата
Msg-id E1rUwM7-003u7L-Ry@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>

Backpatch to all live branches

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c7cc528a345066b8b542eacef6dc4d9f72552e46

Modified Files
--------------
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +++++++++++++
1 file changed, 13 insertions(+)


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

Предыдущее
От: David Rowley
Дата:
Сообщение: pgsql: Simplify partial path generation in GROUP BY/ORDER BY
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Use older name for test_primary_datadir