Avoid package qualification of $windows_os
authorAndrew Dunstan
Thu, 1 Feb 2024 20:17:41 +0000 (15:17 -0500)
committerAndrew Dunstan
Thu, 1 Feb 2024 20:31:19 +0000 (15:31 -0500)
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

index 027a4a2129149cecec2671a566b9d1e1c21e3eb3..100c212a4db33c3908188fb4eb01edb663c5e207 100644 (file)
@@ -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)
        {