Allow TAP tests to run under Msys
Andrew Dunstan <andrew@dunslane.net>
Allow TAP tests to run under Msys The Msys DTK perl, which is required to run TAP tests under Msys as a native perl won't recognize the correct virtual paths, has its osname recorded in the Config module as 'msys' instead of 'MSWin32'. To avoid having to repeat the test a variable is created that is true iff the osname is either of these values, and is then used everywhere that matters.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_basebackup/t/010_pg_basebackup.pl | modified | +1 −1 |
| src/bin/pg_ctl/t/001_start_stop.pl | modified | +1 −1 |
| src/test/perl/TestLib.pm | modified | +6 −3 |