Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Use older name for test_primary_datadir
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 31 Jan 2024 00:19:55 +0000 (19:19 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 31 Jan 2024 00:22:58 +0000 (19:22 -0500)
Releases prior to  14 used the older naming scheme. This  fixes a bug un
the back-patches of 6ee26c6a4b in releases 12 and 13.

src/bin/pg_rewind/t/003_extrafiles.pl

index 155239c59a7cf956a34205e1ff5ff53ba4d13b78..ae110a9afd1af3a7fdb406c2174d0850b0503d71 100644 (file)
@@ -77,7 +77,7 @@ sub run_test
        {
            $filename =~ s{\\}{/}g;
        }
-       $test_primary_datadir =~ s{\\}{/}g;
+       $test_master_datadir =~ s{\\}{/}g;
    }
 
    is_deeply(