Skip to content

Commit e12a472

Browse files
committed
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
1 parent dde7fb7 commit e12a472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/recovery/t/017_shm.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ sub init_start
153153
my $single_stderr;
154154
ok( !run_log(
155155
[ 'postgres', '--single', '-D', $gnat->data_dir, 'template1' ],
156-
'<', \('SELECT 1 + 1'), '2>', \$single_stderr),
156+
'<', \undef, '2>', \$single_stderr),
157157
'live query blocks --single');
158158
print STDERR $single_stderr;
159159
like($single_stderr, $pre_existing_msg,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy