Fix 003_extrafiles.pl test for the Windows
authorAndrew Dunstan
Tue, 30 Jan 2024 22:09:44 +0000 (17:09 -0500)
committerAndrew Dunstan
Tue, 30 Jan 2024 22:11:47 +0000 (17:11 -0500)
commit52a9af3b8b9f6ac28c41d2d5d1f743a57e4424e9
tree2a180ccb67070bf9598cc472020f6105c02a19ee
parent5d726c72cd0f6b13842896058151bac5f68b4100
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 

Backpatch to all live branches
src/bin/pg_rewind/t/003_extrafiles.pl