From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix 003_extrafiles.pl test for the Windows
Date: Tue, 30 Jan 2024 22:13:23 +0000
Message-ID: <E1rUwM7-003u7H-Qw@gemulon.postgresql.org> (raw)
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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6ee26c6a4bafabbd22a85f575d2446fd5ec6ad0d
Modified Files
--------------
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +++++++++++++
1 file changed, 13 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix 003_extrafiles.pl test for the Windows
In-Reply-To: <E1rUwM7-003u7H-Qw@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox