pgsql: Don't write to stdin of a test process that could have already e

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't write to stdin of a test process that could have already e
Date: 2019-04-16 01:14:36
Message-ID: E1hGCgG-0005hd-73@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e12a4726127b90b8fc5e75690fe4527f1866412d

Modified Files
--------------
src/test/recovery/t/017_shm.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2019-04-16 01:18:30 Re: pgsql: Consistently test for in-use shared memory.
Previous Message Tom Lane 2019-04-16 01:01:45 Re: pgsql: Consistently test for in-use shared memory.