Make "kerberos" test suite independent of "localhost" name resolution.
authorNoah Misch
Sat, 4 Aug 2018 03:53:25 +0000 (20:53 -0700)
committerNoah Misch
Sat, 4 Aug 2018 03:53:40 +0000 (20:53 -0700)
commit75224ac20e90d2a9ba18ead1af62c74858d48c41
treea7bda813ca3ed7a3365db988eacf67b6d1bcea07
parentb9612e5cfab828e496108c8e5379fdfac625ae01
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[email protected]
src/test/kerberos/t/001_auth.pl