Treat MINGW and MSYS the same in pg_upgrade test script

Andrew Dunstan <andrew@dunslane.net>

Commit: f6d5a5f6dba515db39047ec07240129090d71538
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2019-08-26T11:46:35Z
Releases: 9.6.16
Treat MINGW and MSYS the same in pg_upgrade test script

On msys2, 'uname -s' reports a string starting MSYS instead on MINGW
as happens on msys1. Treat these both the same way. This reverts
608a710195a4b in favor of a more general solution.

Backpatch to all live branches.

Files

PathChange+/−
src/bin/pg_upgrade/test.sh modified +5 −3