pgsql: Make "kerberos" test suite independent of "localhost" name resol

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make "kerberos" test suite independent of "localhost" name resol
Date: 2018-08-04 04:01:59
Message-ID: E1flnlP-0000aJ-Tm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e61f21b921aebc0870d3ac47f77fc17e75e2fefb

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-08-04 12:18:34 Re: pgsql: Address set of issues with errno handling
Previous Message Peter Geoghegan 2018-08-03 22:16:34 pgsql: Add table relcache invalidation to index builds.