Silence assorted annoying test output.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Oct 2024 18:13:01 +0000 (14:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Oct 2024 18:13:01 +0000 (14:13 -0400)
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
src/test/postmaster/.gitignore [new file with mode: 0644]

index 63c25eeb83572a2a445ea98e1ecfd56965d28671..c793f2135d56c700da761992076dbedafb72a181 100644 (file)
@@ -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 (file)
index 0000000..871e943
--- /dev/null
@@ -0,0 +1,2 @@
+# Generated by test suite
+/tmp_check/