Commit c697d8a3 authored by Andrew Dunstan's avatar Andrew Dunstan

Fix PostgresNode install_path sanity tests that fail on Windows

Backpatch to 14 where install_path was introduced.
parent 5863115e
......@@ -1237,9 +1237,10 @@ sub _set_pg_version
# complain about that, too.
$pg_config = "$inst/bin/pg_config";
BAIL_OUT("pg_config not found: $pg_config")
unless -e $pg_config;
unless -e $pg_config
or ($TestLib::windows_os and -e "$pg_config.exe");
BAIL_OUT("pg_config not executable: $pg_config")
unless -x $pg_config;
unless $TestLib::windows_os or -x $pg_config;
# Leave $pg_config install_path qualified, to be sure we get the right
# version information, below, or die trying
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment