Skip to content

Commit 460314d

Browse files
committed
pg_validatebackup: Also use perl2host in TAP tests.
Second try at getting the buildfarm to be happy with 003_corrution.pl as added by commit 0d8c9c1. Per suggestion from Álvaro Herrera. Discussion: http://postgr.es/m/20200403205412.GA8279@alvherre.pgsql
1 parent 0568e7a commit 460314d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_validatebackup/t/003_corruption.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Include a user-defined tablespace in the hopes of detecting problems in that
1717
# area.
18-
my $source_ts_path = TestLib::tempdir_short;
18+
my $source_ts_path = TestLib::perl2host(TestLib::tempdir_short());
1919
$master->safe_psql('postgres', <<EOM);
2020
CREATE TABLE x1 (a int);
2121
INSERT INTO x1 VALUES (111);
@@ -103,7 +103,7 @@
103103

104104
# Take a backup and check that it validates OK.
105105
my $backup_path = $master->backup_dir . '/' . $name;
106-
my $backup_ts_path = TestLib::tempdir_short;
106+
my $backup_ts_path = TestLib::perl2host(TestLib::tempdir_short());
107107
$master->command_ok(['pg_basebackup', '-D', $backup_path, '--no-sync',
108108
'-T', "${source_ts_path}=${backup_ts_path}"],
109109
"base backup ok");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy