pgsql: Refactor TAP test authentication/001_password.pl

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Refactor TAP test authentication/001_password.pl
Date: 2022-10-06 00:50:28
Message-ID: E1ogF5n-0015Nh-Er@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-10-06 11:26:29 pgsql: Fix comment in xlogprefetcher.c
Previous Message David Rowley 2022-10-05 21:20:26 pgsql: Fix final compiler warning produced by -Wshadow=compatible-local