Run 006_login_trigger.pl only with Unix-domain sockets
authorAlexander Korotkov <akorotkov@postgresql.org>
Tue, 17 Oct 2023 05:11:40 +0000 (08:11 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Tue, 17 Oct 2023 05:11:40 +0000 (08:11 +0300)
Per report from buildfarm member drongo.

Reported-by: Alexander Lakhin
src/test/authentication/t/006_login_trigger.pl

index 2c5d4bf33fe2a612ae2aca330a36c9c3b996275c..24beb0a0b2da9c1fd49fc229468412a36665312e 100644 (file)
@@ -10,6 +10,11 @@ use warnings;
 use PostgreSQL::Test::Cluster;
 use PostgreSQL::Test::Utils;
 use Test::More;
+if (!$use_unix_sockets)
+{
+   plan skip_all =>
+     "authentication tests cannot run without Unix-domain sockets";
+}
 
 # Execute a psql command and compare its output towards given regexps
 sub psql_command