pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make "kerberos" test suite independent of "localhost" name resol
2+ messages / 1 participants
[nested] [flat]

* pgsql: Make "kerberos" test suite independent of "localhost" name resol
@ 2018-08-04 04:01  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2018-08-04 04:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Make "kerberos" test suite independent of "localhost" name resol
@ 2018-08-04 04:01  Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Noah Misch @ 2018-08-04 04:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-08-04 04:01 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-04 04:01 pgsql: Make "kerberos" test suite independent of "localhost" name resol Noah Misch <noah@leadboat.com>
2018-08-04 04:01 pgsql: Make "kerberos" test suite independent of "localhost" name resol Noah Misch <noah@leadboat.com>

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