]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix test suite issues affecting Travis images 956/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 26 Jul 2019 22:33:28 +0000 (18:33 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 29 Jul 2019 19:22:45 +0000 (15:22 -0400)
commitc2497d46b4bad473e164943d67b58cd1ae261c3a
treea751bd560e7958bc379f48b9f4b064d6da592e68
parent5105a91c9dc3210e242dff156b861e77aa80959a
Fix test suite issues affecting Travis images

In the utilities used by the dejagnu test suites, use
getaddrinfo()/getnameinfo() instead of
gethostbyname()/gethostbyaddr(), as the results can vary when the
local hostname appears in multiple lines in /etc/hosts.

In t_ccselect.py, don't cause an error if the canonicalized local
hostname is "localhost".  The tests will continue to run in this case,
as long as we don't try to create duplicate principals.

In sim_server.c, bind to the wildcard address instead of the resolved
local hostname, to resolve a mysterious problem observed in Travis
where the second of three sim_client send() operations fails with
ECONNREFUSED.
src/appl/simple/server/sim_server.c
src/kadmin/testing/scripts/qualname.plin
src/tests/gssapi/t_ccselect.py
src/tests/resolve/Makefile.in
src/tests/resolve/resolve.c