From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add authentication TAP test for peer authentication
Date: Mon, 03 Oct 2022 07:42:48 +0000
Message-ID: <E1ofG6C-000gga-7H@gemulon.postgresql.org> (raw)
Add authentication TAP test for peer authentication
This commit introduces an authentication test for the peer method, as of
a set of scenarios with and without a user name map. The script is
automatically skipped if peer is not supported in the environment where
this test is run, checking this behavior by attempting a connection
first on a cluster up and running.
Author: Bertrand Drouvot
Discussion: https://postgr.es/m/aa60994b-1c66-ca7a-dab9-9a200dbac3d2@amazon.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f60eb3f2827db292edf71bb7296fbdf5958ace3d
Modified Files
--------------
src/test/authentication/meson.build | 1 +
src/test/authentication/t/003_peer.pl | 102 ++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add authentication TAP test for peer authentication
In-Reply-To: <E1ofG6C-000gga-7H@gemulon.postgresql.org>
References: <E1ofG6C-000gga-7H@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox