pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make "kerberos" test suite independent of "localhost" name resol
Date: Sat, 04 Aug 2018 04:01:59 +0000
Message-ID: <E1flnlP-0000aJ-Tm@gemulon.postgresql.org> (raw)

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



view thread (2+ messages)

Message-ID: <E1flnlP-0000aJ-Tm@gemulon.postgresql.org>
Permalink:  ../E1flnlP-0000aJ-Tm@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1flnlP-0000aJ-Tm@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com
  Subject: Re: pgsql: Make "kerberos" test suite independent of "localhost" name resol
  In-Reply-To: <E1flnlP-0000aJ-Tm@gemulon.postgresql.org>
  References: <E1flnlP-0000aJ-Tm@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox