pgsql: Refactor TAP test authentication/001_password.pl

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

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: /messages/by-id/Yz0xO0emJ+mxtj2a@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/051b096b8dd3b65f8e4528a8cd24a8702646e8b2

Modified Files
--------------
src/test/authentication/t/001_password.pl | 60 ++++++++++++++++---------------
1 file changed, 31 insertions(+), 29 deletions(-)