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

Commitc462b05

Browse files
Fix the test 005_char_signedness.
pg_upgrade test 005_char_signedness was leaving files likedelete_old_cluster.sh in the source directory for VPATH and mesonbuilds. The fix is to change the directory to tmp_check before runningthe test.Reported-by: Robert Haas <robertmhaas@gmail.com>Reviewed-by: Robert Haas <robertmhaas@gmail.com>Discussion:http://postgr.es/m/CA+TgmoYg5e4oznn0XGoJ3+mceG1qe_JJt34rF2JLwvGS5T1hgQ@mail.gmail.com
1 parent17caf66 commitc462b05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/bin/pg_upgrade/t/005_char_signedness.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
qr/Default char data signedness:\s+unsigned/,
4646
'updated default char signedness is unsigned in control file');
4747

48+
# In a VPATH build, we'll be started in the source directory, but we want
49+
# to run pg_upgrade in the build directory so that any files generated finish
50+
# in it, like delete_old_cluster.{sh,bat}.
51+
chdir${PostgreSQL::Test::Utils::tmp_check};
52+
4853
# Cannot use --set-char-signedness option for upgrading from v18+
4954
command_checks_all(
5055
[

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp