]> git.ipfire.org Git - thirdparty/postgresql.git/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)
commit1254dbbd5b7d82463d8a663f162283f5ffdcf010
treec6ada68310baa4a6e0ad18f10ee374a61ea7e2ea
parent9f65081cf74b402e3e136e787e7efcb5bd32d2b4
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