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

Commit15124d0

Browse files
committed
Fix PostgresNode install_path sanity tests that fail on Windows
Backpatch to 14 where install_path was introduced.
1 parentcd3f429 commit15124d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/test/perl/PostgresNode.pm‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,9 +1271,10 @@ sub _set_pg_version
12711271
# complain about that, too.
12721272
$pg_config ="$inst/bin/pg_config";
12731273
BAIL_OUT("pg_config not found:$pg_config")
1274-
unless-e$pg_config;
1274+
unless-e$pg_config
1275+
or ($TestLib::windows_osand-e"$pg_config.exe");
12751276
BAIL_OUT("pg_config not executable:$pg_config")
1276-
unless-x$pg_config;
1277+
unless$TestLib::windows_osor-x$pg_config;
12771278

12781279
# Leave $pg_config install_path qualified, to be sure we get the right
12791280
# version information, below, or die trying

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp