Re: [PATCH] Add peer authentication TAP test

Anton A. Melnikov <aamelnikov@inbox.ru>

From: "Anton A. Melnikov" <aamelnikov@inbox.ru>
To: Michael Paquier <michael@paquier.xyz>
Cc: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-11-25T07:40:43Z
Lists: pgsql-hackers
On 25.11.2022 10:34, Michael Paquier wrote:
> On Fri, Nov 25, 2022 at 10:13:29AM +0300, Anton A. Melnikov wrote:
>> The test fails almost at the beginning in reset_pg_hba call after
>> modification pg_hba.conf and node reloading:
>> #t/003_peer.pl .. Dubious, test returned 2 (wstat 512, 0x200)
>> #No subtests run
>>
>> Logs regress_log_003_peer and 003_peer_node.log are attached.
> 
> Yeah, that's failing exactly at the position I am pointing to.  I'll
> go apply what you have..
> --
> Michael

Thanks!

With the best wishes,

-- 
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



Commits

  1. Skip TAP test for peer authentication if there are no unix-domain sockets

  2. Add authentication TAP test for peer authentication