]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix 003_extrafiles.pl test for the Windows
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 30 Jan 2024 22:09:44 +0000 (17:09 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 30 Jan 2024 22:11:52 +0000 (17:11 -0500)
commitc7cc528a345066b8b542eacef6dc4d9f72552e46
tree121c59170e5c63ba3c83132379dabe5c26038f65
parentf74b5c5bc67c3c1df799e5dd073a441984953b44
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
src/bin/pg_rewind/t/003_extrafiles.pl