Content-Length: 260380 | pFad | http://github.com/postgrespro/postgres/commit/ad4f2c47de440cdd5d58cf9ffea09afa0da04d6c

0F Make PostgreSQL::Test::Cluster::run_log() return a useful value. · postgrespro/postgres@ad4f2c4 · GitHub
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

Lines changed: 1 addition & 2 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ad4f2c47de440cdd5d58cf9ffea09afa0da04d6c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy