diff options
author | Andrew Dunstan | 2022-01-24 21:32:16 +0000 |
---|---|---|
committer | Andrew Dunstan | 2022-01-24 21:32:16 +0000 |
commit | c817a072aae8441a11d6a0336953ecd69dc548ba (patch) | |
tree | 0835facada6c9b30bb3179753274cc7be27be8ac | |
parent | e9d4001ec592bcc9a3332547cb1b0211e8794f38 (diff) |
Unbreak pg_verifybackup/t/008_untar.pl on msys
Commit 0ad8032910 contains the same pattern fixed in commit 4f0bcc7350.
Apply the same fix.
-rw-r--r-- | src/bin/pg_verifybackup/t/008_untar.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_verifybackup/t/008_untar.pl b/src/bin/pg_verifybackup/t/008_untar.pl index 1d74a418865..aad7568b659 100644 --- a/src/bin/pg_verifybackup/t/008_untar.pl +++ b/src/bin/pg_verifybackup/t/008_untar.pl @@ -19,6 +19,7 @@ $primary->start; my $have_zlib = check_pg_config("#define HAVE_LIBZ 1"); my $backup_path = $primary->backup_dir . '/server-backup'; +my $real_backup_path = PostgreSQL::Test::Utils::perl2host($backup_path); my $extract_path = $primary->backup_dir . '/extracted-backup'; my @test_configuration = ( @@ -52,7 +53,7 @@ for my $tc (@test_configuration) # Take a server-side backup. my @backup = ( 'pg_basebackup', '--no-sync', '-cfast', '--target', - "server:$backup_path", '-Xfetch' + "server:$real_backup_path", '-Xfetch' ); push @backup, @{$tc->{'backup_flags'}}; $primary->command_ok(\@backup, |