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-0005hh-7E@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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4dc903947e10b6f6de1de31c31e701d2a4d9516a

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.