pgsql: Don't write to stdin of a test process that could have alreadye - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Don't write to stdin of a test process that could have alreadye
Date
Msg-id E1hGCgG-0005hf-7C@gemulon.postgresql.org
Whole thread Raw
List 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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/76097b42ae03019784465c29d779c7324bc877fe

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Consistently test for in-use shared memory.
Next
From: Noah Misch
Date:
Subject: Re: pgsql: Consistently test for in-use shared memory.