Make PostgreSQL::Test::Cluster::run_log() return a useful value.

Curently, some TAP test that directly call the underlying function
PostgreSQL::Test::Utils::run_log() care about the return value, but
none of those that call it via PostgreSQL::Test::Cluster::run_log() care.
However, I'd like to add a test that will care, so adjust this function
to return whatever it gets back from the underlying function, just as
we do for a number of other functions in this module.

Discussion: http://postgr.es/m/CA+Tgmobj6u-nWF-j=FemygUhobhryLxf9h-wJN7W-2rSsseHNA@mail.gmail.com
This commit is contained in:
Robert Haas 2022-03-29 16:29:49 -04:00
parent 1a36bc9dba
commit ad4f2c47de
1 changed files with 1 additions and 2 deletions

View File

@ -2502,8 +2502,7 @@ sub run_log
local %ENV = $self->_get_env();
PostgreSQL::Test::Utils::run_log(@_);
return;
return PostgreSQL::Test::Utils::run_log(@_);
}
=pod