]> granicus.if.org Git - postgresql/commit
Make "kerberos" test suite independent of "localhost" name resolution.
authorNoah Misch <noah@leadboat.com>
Sat, 4 Aug 2018 03:53:25 +0000 (20:53 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 4 Aug 2018 03:53:25 +0000 (20:53 -0700)
commite61f21b921aebc0870d3ac47f77fc17e75e2fefb
tree39d7318e100ca3e3ba01ec2c231bccacbecf660f
parentb3f919da07540d7c968e8495482336304badcef7
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
src/test/kerberos/t/001_auth.pl