Refactor TAP test authentication/001_password.pl
authorMichael Paquier <[email protected]>
Thu, 6 Oct 2022 00:40:16 +0000 (09:40 +0900)
committerMichael Paquier <[email protected]>
Thu, 6 Oct 2022 00:45:18 +0000 (09:45 +0900)
commit051b096b8dd3b65f8e4528a8cd24a8702646e8b2
tree2a6d8e62e1c1af3981d25d5fbf45509d0e674ac3
parentd8df67bb1ad9cb80963f3592be281656857a5efc
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/[email protected]
src/test/authentication/t/001_password.pl