From 460314db08e8688e1a54a0a26657941e058e45c5 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Fri, 3 Apr 2020 17:16:31 -0400 Subject: [PATCH] pg_validatebackup: Also use perl2host in TAP tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Second try at getting the buildfarm to be happy with 003_corrution.pl as added by commit 0d8c9c1210c44b36ec2efcb223a1dfbe897a3661. Per suggestion from Álvaro Herrera. Discussion: http://postgr.es/m/20200403205412.GA8279@alvherre.pgsql --- src/bin/pg_validatebackup/t/003_corruption.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_validatebackup/t/003_corruption.pl b/src/bin/pg_validatebackup/t/003_corruption.pl index 0a1533bd61b..416bc9194f0 100644 --- a/src/bin/pg_validatebackup/t/003_corruption.pl +++ b/src/bin/pg_validatebackup/t/003_corruption.pl @@ -15,7 +15,7 @@ $master->start; # Include a user-defined tablespace in the hopes of detecting problems in that # area. -my $source_ts_path = TestLib::tempdir_short; +my $source_ts_path = TestLib::perl2host(TestLib::tempdir_short()); $master->safe_psql('postgres', <backup_dir . '/' . $name; - my $backup_ts_path = TestLib::tempdir_short; + my $backup_ts_path = TestLib::perl2host(TestLib::tempdir_short()); $master->command_ok(['pg_basebackup', '-D', $backup_path, '--no-sync', '-T', "${source_ts_path}=${backup_ts_path}"], "base backup ok");