diff options
author | Robert Haas <rhaas@postgresql.org> | 2020-04-03 17:16:31 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2020-04-03 17:18:23 -0400 |
commit | 460314db08e8688e1a54a0a26657941e058e45c5 (patch) | |
tree | f7a2e061d94554d6554c24443e899cdfd380ed30 /src | |
parent | 0568e7a2a4f133a7c16776bcae92c53fcf247b73 (diff) | |
download | postgresql-460314db08e8688e1a54a0a26657941e058e45c5.tar.gz postgresql-460314db08e8688e1a54a0a26657941e058e45c5.zip |
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 0d8c9c1210c44b36ec2efcb223a1dfbe897a3661.
Per suggestion from Álvaro Herrera.
Discussion: http://postgr.es/m/20200403205412.GA8279@alvherre.pgsql
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_validatebackup/t/003_corruption.pl | 4 |
1 files 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', <<EOM); CREATE TABLE x1 (a int); INSERT INTO x1 VALUES (111); @@ -103,7 +103,7 @@ for my $scenario (@scenario) # Take a backup and check that it validates OK. my $backup_path = $master->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"); |