From: Bruno Haible Date: Sat, 12 Apr 2008 00:34:33 +0000 (+0200) Subject: Avoid test failure on IRIX. X-Git-Tag: v0.1~7574 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=cb5e025dd6fc3ff5888f138ce3dd7d94b5883358;p=gnulib.git Avoid test failure on IRIX. --- diff --git a/ChangeLog b/ChangeLog index cc224423e..5708a23ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-04-11 Bruno Haible + * tests/test-getaddrinfo.c (simple): Ignore EAI_NONAME error. + +2008-04-11 Bruno Haible + * modules/strsignal-tests (Makefile.am): Define test_strsignal_LDADD. * modules/getaddrinfo-tests (Makefile.am): Define diff --git a/tests/test-getaddrinfo.c b/tests/test-getaddrinfo.c index 00a980b1b..2f42bde87 100644 --- a/tests/test-getaddrinfo.c +++ b/tests/test-getaddrinfo.c @@ -54,6 +54,10 @@ int simple (char *host, char *service) if (res != 0) { + /* IRIX reports EAI_NONAME for "https". Don't fail the test + merely because of this. */ + if (res == EAI_NONAME) + return 0; /* Solaris reports EAI_SERVICE for "http" and "https". Don't fail the test merely because of this. */ if (res == EAI_SERVICE)