Add authentication TAP test for peer authentication
authorMichael Paquier <michael@paquier.xyz>
Mon, 3 Oct 2022 07:42:25 +0000 (16:42 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 3 Oct 2022 07:42:25 +0000 (16:42 +0900)
commitf60eb3f2827db292edf71bb7296fbdf5958ace3d
tree37459cfa7d0af6ff782bd216df63ec90a3052e71
parent89d16b63527d078ae611b0af1241258ffa1f460b
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
src/test/authentication/meson.build
src/test/authentication/t/003_peer.pl [new file with mode: 0644]