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

Commit9e492d6

Browse files
committed
Skip TAP test for peer authentication if there are no unix-domain sockets
Peer connections require support for local connections to work, but thetest missed the same check as the other ones in this suite. Thebuildfarm does not run the authentication tests on Windows, and, moresurprisingly, the CI with meson was already able to skip it.Author: Anton A. MelnikovDiscussion:https://postgr.es/m/28b9d685-9590-45b1-fe87-358d61c6950a@inbox.ru
1 parentd13b684 commit9e492d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/test/authentication/t/003_peer.pl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22
# Copyright (c) 2021-2022, PostgreSQL Global Development Group
33

44
# Tests for peer authentication and user name map.
5-
# The test is skipped if the platform does not support peer authentication.
5+
# The test is skipped if the platform does not support peer authentication,
6+
# and is only able to run with Unix-domain sockets.
67

78
use strict;
89
use warnings;
910
use PostgreSQL::Test::Cluster;
1011
use PostgreSQL::Test::Utils;
1112
use Test::More;
13+
if (!$use_unix_sockets)
14+
{
15+
planskip_all=>
16+
"authentication tests cannot run without Unix-domain sockets";
17+
}
1218

1319
# Delete pg_hba.conf from the given node, add a new entry to it
1420
# and then execute a reload to refresh it.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp