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

Commitb0a4c3e

Browse files
Prevent 006_transfer_modes.pl from leaving files behind.
This test was leaving files like delete_old_cluster.{sh,bat} in thesource directory for VPATH and meson builds. To fix, change thedirectory to tmp_check before running the test, as was done incommits15b6d21,8af917b, andc462b05.Oversight in commitaf0d490.Reported-by: Andrew Dunstan <andrew@dunslane.net> (on Discord)Reviewed-by: Michael Paquier <michael@paquier.xyz>Reviewed-by: Andrew Dunstan <andrew@dunslane.net>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/Z_RHkG770w3SE0yU%40nathan
1 parent88edd66 commitb0a4c3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/bin/pg_upgrade/t/006_transfer_modes.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ sub test_mode
102102
$new->clean_node();
103103
}
104104

105+
# Run pg_upgrade in tmp_check to avoid leaving files like
106+
# delete_old_cluster.{sh,bat} in the source directory for VPATH and meson
107+
# builds.
108+
chdir${PostgreSQL::Test::Utils::tmp_check};
109+
105110
test_mode('--clone');
106111
test_mode('--copy');
107112
test_mode('--copy-file-range');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp