git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 50d2426) | patch
Work around Msys weakness in Testlib.pm's command_like()
2017年7月26日 21:15:59 +0000 (17:15 -0400)
2017年7月27日 02:46:55 +0000 (22:46 -0400)
commit efd7f8e36553cd32e445061cbbc80d32028f4248
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.
src/bin/pg_ctl/t/001_start_stop.pl diff | blob | blame | history
src/test/perl/TestLib.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /