postgres.git / summary / log / commit / refs

commit    1254dbbd5b7d82463d8a663f162283f5ffdcf010
Author:   Noah Misch <noah@leadboat.com>
Date:     Tue Apr 16 01:13:44 2019 +0000
First released in: 12.0, 9.6.13, 10.8, 11.3

    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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/recovery/t/017_shm.pl b/src/test/recovery/t/017_shm.pl index 30d87daad99..21f15140f82 100644 --- a/src/test/recovery/t/017_shm.pl +++ b/src/test/recovery/t/017_shm.pl @@ -151,7 +151,7 @@ like(slurp_file($gnat->logfile), my $single_stderr; ok( !run_log( [ 'postgres', '--single', '-D', $gnat->data_dir, 'template1' ], - '<', \('SELECT 1 + 1'), '2>', \$single_stderr), + '<', \undef, '2>', \$single_stderr), 'live query blocks --single'); print STDERR $single_stderr; like($single_stderr, $pre_existing_msg, [parent: 9f65081cf74b]