projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid a test failure on AIX 4 and AIX 5.
[pspp]
/
tests
/
test-getaddrinfo.c
diff --git
a/tests/test-getaddrinfo.c
b/tests/test-getaddrinfo.c
index 2f42bde87347709b860dab058c99f0284b2e8f7c..ca7c62cd23739b59f24b656c691b694f31fba500 100644
(file)
--- a/
tests/test-getaddrinfo.c
+++ b/
tests/test-getaddrinfo.c
@@
-62,6
+62,10
@@
int simple (char *host, char *service)
fail the test merely because of this. */
if (res == EAI_SERVICE)
return 0;
+ /* AIX reports EAI_NODATA for "https". Don't fail the test
+ merely because of this. */
+ if (res == EAI_NODATA)
+ return 0;
return 1;
}