pgsql: Add authentication TAP test for peer authentication

Started by Michael Paquierover 3 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(+)