projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde7fb7
)
Don't write to stdin of a test process that could have already exited.
author
Noah Misch
<noah@leadboat.com>
Tue, 16 Apr 2019 01:13:44 +0000
(18:13 -0700)
committer
Noah Misch
<noah@leadboat.com>
Tue, 16 Apr 2019 01:13:44 +0000
(18:13 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/test/recovery/t/017_shm.pl
b/src/test/recovery/t/017_shm.pl
index f89d53a8793c0b5dceabc9db7f4888afc5575446..f16821d51fe97d3a0dc53f15f11d8e70d0eed4ea 100644
(file)
--- a/
src/test/recovery/t/017_shm.pl
+++ b/
src/test/recovery/t/017_shm.pl
@@
-153,7
+153,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,