aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/Cluster.pm
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-03-29 16:29:49 -0400
committerRobert Haas <rhaas@postgresql.org>2022-03-29 16:58:24 -0400
commitad4f2c47de440cdd5d58cf9ffea09afa0da04d6c (patch)
treee70d11aabe6bd902086e4eb4ac42b42cbe8373cc /src/test/perl/PostgreSQL/Test/Cluster.pm
parent1a36bc9dba8eae90963a586d37b6457b32b2fed4 (diff)
downloadpostgresql-ad4f2c47de440cdd5d58cf9ffea09afa0da04d6c.tar.gz
postgresql-ad4f2c47de440cdd5d58cf9ffea09afa0da04d6c.zip
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
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/Cluster.pm')
-rw-r--r--src/test/perl/PostgreSQL/Test/Cluster.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
index bee6aacf47c..b6e33516110 100644
--- a/src/test/perl/PostgreSQL/Test/Cluster.pm
+++ b/src/test/perl/PostgreSQL/Test/Cluster.pm
@@ -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