Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit460314d

Browse files
committed
pg_validatebackup: Also use perl2host in TAP tests.
Second try at getting the buildfarm to be happy with 003_corrution.plas added by commit0d8c9c1.Per suggestion from Álvaro Herrera.Discussion:http://postgr.es/m/20200403205412.GA8279@alvherre.pgsql
1 parent0568e7a commit460314d

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)

[8]ページ先頭

©2009-2025 Movatter.jp