Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d373e0

Browse files
Ensure that STDERR is empty in connect_ok tests
Connections performed via connect_ok() in TAP tests should not writeanything to STDERR.Author: Jacob Champion <pchampion@vmware.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/9D4FFB61-392B-4A2C-B7E4-911797B4AC14@yesql.seDiscussion:https://postgr.es/m/ec146256e31afa0542f9fa970ec258c5f1a5f98.camel@vmware.com
1 parent6538be9 commit4d373e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,8 +2214,11 @@ sub connect_ok
22142214

22152215
if (defined($params{expected_stdout}))
22162216
{
2217-
like($stdout,$params{expected_stdout},"$test_name: matches");
2217+
like($stdout,$params{expected_stdout},"$test_name:stdoutmatches");
22182218
}
2219+
2220+
is($stderr,"","$test_name: no stderr");
2221+
22192222
if (@log_likeor@log_unlike)
22202223
{
22212224
my$log_contents = PostgreSQL::Test::Utils::slurp_file($self->logfile,$log_location);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp