]> granicus.if.org Git - postgresql/commit
Don't write to stdin of a test process that could have already exited.
authorNoah Misch <noah@leadboat.com>
Tue, 16 Apr 2019 01:13:44 +0000 (18:13 -0700)
committerNoah Misch <noah@leadboat.com>
Tue, 16 Apr 2019 01:13:48 +0000 (18:13 -0700)
commit4dc903947e10b6f6de1de31c31e701d2a4d9516a
treed081a840f90b771ab0dc23d6aa61b3776822267f
parentab359624b4c102e308a86959ad74d34d52746db2
Don't write to stdin of a test process that could have already exited.

Instead, close that stdin.  Per buildfarm member conchuela.  Back-patch
to 9.6, where the test was introduced.

Discussion: https://postgr.es/m/26478.1555373328@sss.pgh.pa.us
src/test/recovery/t/017_shm.pl