Skip to content

Commit ad4f2c4

Browse files
committed
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
1 parent 1a36bc9 commit ad4f2c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/perl/PostgreSQL/Test/Cluster.pm

+1-2
Original file line numberDiff line numberDiff line change
@@ -2502,8 +2502,7 @@ sub run_log
25022502

25032503
local %ENV = $self->_get_env();
25042504

2505-
PostgreSQL::Test::Utils::run_log(@_);
2506-
return;
2505+
return PostgreSQL::Test::Utils::run_log(@_);
25072506
}
25082507

25092508
=pod

0 commit comments

Comments
 (0)