From 01fce8dab16385573ba0f2ddd3d52ba3514a6562 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 8 Oct 2024 14:13:01 -0400 Subject: [PATCH] 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. --- src/test/perl/PostgreSQL/Test/Cluster.pm | 1 - src/test/postmaster/.gitignore | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/test/postmaster/.gitignore diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index 63c25eeb83..c793f2135d 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -353,7 +353,6 @@ sub raw_connect_works # IO::Socket::UNIX implementation. if ($PostgreSQL::Test::Utils::use_unix_sockets) { - diag "checking if IO::Socket::UNIX works"; eval { my $sock = $self->raw_connect(); $sock->close(); diff --git a/src/test/postmaster/.gitignore b/src/test/postmaster/.gitignore new file mode 100644 index 0000000000..871e943d50 --- /dev/null +++ b/src/test/postmaster/.gitignore @@ -0,0 +1,2 @@ +# Generated by test suite +/tmp_check/ -- 2.39.5