From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix 003_extrafiles.pl test for the Windows |
Date: | 2024-01-30 22:13:23 |
Message-ID: | E1rUwM7-003u7U-TP@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)com>
Backpatch to all live branches
Branch
------
REL_12_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e894d1d829196a482511577de743088e4e0aed76
Modified Files
--------------
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +++++++++++++
1 file changed, 13 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2024-01-31 00:24:01 | pgsql: Use older name for test_primary_datadir |
Previous Message | David Rowley | 2024-01-30 21:11:48 | pgsql: Simplify partial path generation in GROUP BY/ORDER BY |