Silence assorted annoying test output.

Remove unnecessary chatter about "checking if IO::Socket::UNIX works";
our tests should never print anything on stderr unless there's a
problem.

Add .gitignore entry for temporary directory now being left behind
in src/test/postmaster.
This commit is contained in:
Tom Lane 2024-10-08 14:13:01 -04:00
parent 2d24fd942c
commit 01fce8dab1
2 changed files with 2 additions and 1 deletions

View File

@ -353,7 +353,6 @@ sub raw_connect_works
# IO::Socket::UNIX implementation. # IO::Socket::UNIX implementation.
if ($PostgreSQL::Test::Utils::use_unix_sockets) if ($PostgreSQL::Test::Utils::use_unix_sockets)
{ {
diag "checking if IO::Socket::UNIX works";
eval { eval {
my $sock = $self->raw_connect(); my $sock = $self->raw_connect();
$sock->close(); $sock->close();

2
src/test/postmaster/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# Generated by test suite
/tmp_check/