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 7a83323f2d
commit 679b07469a

View File

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