Differences From Artifact [bc5647851d]:
- File tests/OFTCPSocketTests.m — part of check-in [062a052b50] at 2010-04-17 15:46:34 on branch trunk — Don't return self where not necessary, return void or something useful. (user: js, size: 1719) [annotate] [blame] [check-ins using]
To Artifact [ea1bb29bbd]:
- File
tests/OFTCPSocketTests.m
— part of check-in
[92c870f23d]
at
2010-09-15 15:19:05
on branch trunk
— It seems glibc 2.12.1-r1 breaks getaddrinfo() and returns v6 only.
Use 127.0.0.1 instead of localhost to work around this bug (and to work
around incomplete or broken /etc/hosts files).Debug output showed that the linked-list returned by getaddrinfo() only
returned the v6 entry, not v6 and v4, like it should. (user: js, size: 1719) [annotate] [blame] [check-ins using]
︙ | |||
42 43 44 45 46 47 48 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | - + - + | TEST(@"+[socket]", (server = [OFTCPSocket socket]) && (client = [OFTCPSocket socket])) msg = [OFString stringWithFormat: @"-[bindService:onNode:withFamily:] (port %d)", port]; TEST(msg, R([server bindService: service |
︙ |