Allow MSYS as well as MINGW in Msys uname

Msys2's uname -s outputs a string beginning MSYS rather than MINGW as is
output by Msys. Allow either in pg_upgrade's test.sh.

Backpatch to all live branches.
This commit is contained in:
Andrew Dunstan 2018-05-04 14:54:04 -04:00
parent b45f6613e0
commit 608a710195
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ standard_initdb() {
testhost=`uname -s`
case $testhost in
MINGW*)
MINGW*|MSYS*)
LISTEN_ADDRESSES="localhost"
PGHOST=localhost
;;