postgres.git / summary / log / commit / refs
commit 709d6fbcacd6cc2327cdb20ee0db502a34cbc884
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Thu Feb 01 20:17:41 2024 +0000
First released in: 17.0, 12.18, 13.14, 14.11, 15.6, 16.2
Avoid package qualification of $windows_os
Further fallout from commit 6ee26c6a4b. To keep code in sync and avoid
issues on older releases with different package names, simply use the
unqualified name like many other places in our code.
src/bin/pg_rewind/t/003_extrafiles.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_rewind/t/003_extrafiles.pl b/src/bin/pg_rewind/t/003_extrafiles.pl
index 5629c93a6b9..5dc442f28ec 100644
--- a/src/bin/pg_rewind/t/003_extrafiles.pl
+++ b/src/bin/pg_rewind/t/003_extrafiles.pl
@@ -71,7 +71,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)
{
[parent: 2e822a1d62d0]