diff --git a/src/bin/pg_rewind/t/003_extrafiles.pl b/src/bin/pg_rewind/t/003_extrafiles.pl index 7e4c2771ce..bab4b73d31 100644 --- a/src/bin/pg_rewind/t/003_extrafiles.pl +++ b/src/bin/pg_rewind/t/003_extrafiles.pl @@ -82,7 +82,7 @@ sub run_test # File::Find converts backslashes to slashes in the newer Perl # versions. To support all Perl versions, do the same conversion # for Windows before comparing the paths. - if ($PostgreSQL::Test::Utils::windows_os) + if ($windows_os) { for my $filename (@paths) {