Fix 003_extrafiles.pl test for the Windows

Andrew Dunstan <andrew@dunslane.net>

Commit: 2acba01ddc2a6c9fd15f519ed24b1d8894762e41
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2024-01-30T22:12:20Z
Releases: 14.11
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

Files

PathChange+/−
src/bin/pg_rewind/t/003_extrafiles.pl modified +13 −0