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

Commit21dc488

Browse files
committed
pg_validatebackup: Use tempdir_short in TAP tests.
The buildfarm is very unhappy right now because TAP test003_corruption.pl uses TestLib::tempdir to generate the name ofa temporary directory that is used as a tablespace name, andthis results in a 'symbolic link target too long' error messageon many of the buildfarm machines, but not on my machine.It appears that other people have run into similar problems inthe past and that TestLib::tempdir_short was the solution, solet's try using that instead.
1 parent87e3004 commit21dc488

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;
18+
my$source_ts_path = 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;
106+
my$backup_ts_path = 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