Refactor TAP test authentication/001_password.pl

Michael Paquier <michael@paquier.xyz>

Commit: 051b096b8dd3b65f8e4528a8cd24a8702646e8b2
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-10-06T00:45:18Z
Releases: 16.0
Refactor TAP test authentication/001_password.pl

The test is changed to test for connection strings rather than specific
roles, and the reset logic of pg_hba.conf is extended so as the database
and user name entries can be directly specified.  This is aimed at being
used as a base for more test scenarios of pg_hba.conf and authentication
paths.

Author: Bertrand Drouvot, Michael Paquier
Discussion: https://postgr.es/m/Yz0xO0emJ+mxtj2a@paquier.xyz

Files

PathChange+/−
src/test/authentication/t/001_password.pl modified +31 −29

Discussion