pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Avoid and detect SIGPIPE race in TAP tests. 2+ messages / 1 participants [nested] [flat]
* pgsql: Avoid and detect SIGPIPE race in TAP tests. @ 2017-12-16 18:05 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 2+ messages in thread From: Noah Misch @ 2017-12-16 18:05 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c757a3da0af0e5eb636eeee2af6602d279162b0a Modified Files -------------- src/test/authentication/t/001_password.pl | 3 +-- src/test/authentication/t/002_saslprep.pl | 3 +-- src/test/perl/TestLib.pm | 4 ++++ 3 files changed, 6 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Avoid and detect SIGPIPE race in TAP tests. @ 2017-12-16 18:05 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 2+ messages in thread From: Noah Misch @ 2017-12-16 18:05 UTC (permalink / raw) To: pgsql-committers 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ac93acbc05be2ef995208c1ca17f8083f60ccc53 Modified Files -------------- src/test/authentication/t/001_password.pl | 3 +-- src/test/authentication/t/002_saslprep.pl | 3 +-- src/test/perl/TestLib.pm | 4 ++++ 3 files changed, 6 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2017-12-16 18:05 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-12-16 18:05 pgsql: Avoid and detect SIGPIPE race in TAP tests. Noah Misch <noah@leadboat.com> 2017-12-16 18:05 pgsql: Avoid and detect SIGPIPE race in TAP tests. Noah Misch <noah@leadboat.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox