Fix `getaddrinfo' tests.
authorLudovic Courtès <ludo@gnu.org>
Mon, 15 Feb 2010 15:10:01 +0000 (16:10 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 15 Feb 2010 15:10:01 +0000 (16:10 +0100)
commit25bc75c4316497c95b1c3fc17f1678ac47d32041
tree348b7f2b745b6f0ff52e7b48071b031ad7c5229a
parent2fe5eb561c02ceda6e9244e14c68b2072fb94eb5
Fix `getaddrinfo' tests.

Thanks to Ken Raeburn.

* test-suite/tests/net-db.test ("getaddrinfo")["port 80"]: Fix bogus
  check of `addrinfo:flags' (POSIX says that the "contents of the
  ai_flags field of the returned structures are undefined.").
  ("wrong service name"): Accept `EAI_NONAME' as a valid error code.
test-suite/tests/net-db.test