Обсуждение: pgsql: Allow TAP tests to run under Msys

Поиск
Список
Период
Сортировка

pgsql: Allow TAP tests to run under Msys

От
Andrew Dunstan
Дата:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/690ed2b76ab91eb79ea04ee2bfbdc8a2693f2a37

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl |    2 +-
src/bin/pg_ctl/t/001_start_stop.pl           |    2 +-
src/test/perl/TestLib.pm                     |    9 ++++++---
3 files changed, 8 insertions(+), 5 deletions(-)