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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9970716) | patch
Avoid and detect SIGPIPE race in TAP tests.
2017年12月16日 18:03:35 +0000 (10:03 -0800)
2017年12月16日 18:03:35 +0000 (10:03 -0800)
commit c757a3da0af0e5eb636eeee2af6602d279162b0a
Avoid and detect SIGPIPE race in TAP tests.

Don't write to stdin of a psql process that could have already exited
with an authentication failure. Buildfarm members crake and mandrill
have failed once by doing so. Ignore SIGPIPE in all TAP tests.
Back-patch to v10, where these tests were introduced.

Reviewed by Michael Paquier.

Discussion: https://postgr.es/m/20171209210203.GC3362632@rfd.leadboat.com
src/test/authentication/t/001_password.pl diff | blob | blame | history
src/test/authentication/t/002_saslprep.pl diff | blob | blame | history
src/test/perl/TestLib.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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