diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_upgrade/test.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh index 3f98158dde3..30e5eedc6d8 100644 --- a/src/bin/pg_upgrade/test.sh +++ b/src/bin/pg_upgrade/test.sh @@ -29,11 +29,13 @@ standard_initdb() { ../../test/regress/pg_regress --config-auth "$PGDATA" } -# Establish how the server will listen for connections -testhost=`uname -s` +# What flavor of host are we on? +# Treat MINGW* (msys1) and MSYS* (msys2) the same. +testhost=`uname -s | sed s/^MSYS/MINGW/` +# Establish how the server will listen for connections case $testhost in - MINGW*|MSYS*) + MINGW*) LISTEN_ADDRESSES="localhost" PGHOST=localhost ;; |