[COMMITTERS] pgsql: Work around Msys weakness in Testlib.pm's command_like()
В списке pgsql-committers по дате отправления:
| От | Andrew Dunstan |
|---|---|
| Тема | [COMMITTERS] pgsql: Work around Msys weakness in Testlib.pm's command_like() |
| Дата | |
| Msg-id | E1daYrk-0004I7-Fx@gemulon.postgresql.org обсуждение исходный текст |
| Ответы |
Re: [COMMITTERS] pgsql: Work around Msys weakness in Testlib.pm'scommand_like()
|
| Список | pgsql-committers |
Work around Msys weakness in Testlib.pm's command_like() When output of IPC::Run::run () is redirected to scalar references, in certain circumstances the Msys perl does not correctly detect that the end of file has been seen, making the test hang indefinitely. One such circumstance is when the command is 'pg_ctl start', and such a change was made in commit f13ea95f9e. The workaround, which only applies on MSys, is to redirect the output to temporary files and then read them in when the process has finished. Patch by me, reviewed and tweaked by Tom Lane. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/efd7f8e36553cd32e445061cbbc80d32028f4248 Modified Files -------------- src/bin/pg_ctl/t/001_start_stop.pl | 14 +++++++++++--- src/test/perl/TestLib.pm | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера