pgsql: Make "kerberos" test suite independent of "localhost" nameresol - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Make "kerberos" test suite independent of "localhost" nameresol
Date
Msg-id E1flnlP-0000aK-Tv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make "kerberos" test suite independent of "localhost" name resolution.

This suite malfunctioned if the canonical name of "localhost" was
something other than "localhost", such as "localhost.localdomain".  Use
hostaddr=127.0.0.1 and a fictitious host=, so the resolver's answers for
"localhost" don't affect the outcome.  Back-patch to v11, which
introduced this test suite.

Discussion: https://postgr.es/m/20180801050903.GA1392916@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/75224ac20e90d2a9ba18ead1af62c74858d48c41

Modified Files
--------------
src/test/kerberos/t/001_auth.pl | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Add table relcache invalidation to index builds.
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Address set of issues with errno handling