Derek Xue ba811120ae Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
This change is to migrate the getaddrinfo tests defined in the old file
system/extras/tests/bionic/libc/common/test_getaddrinfo.c
to the new place bionic/tests/netdb_test.cpp.

The test here is more thorough, and catches a bug in getservbyname(3)
that was breaking getaddrinfo(3)'s ability to look up services by name
without a hint that would cause it to ask for a specific protocol.

Change-Id: Ief5ebd0869496d1bc6a97861dfefa04bdf24bab1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-10-22 22:23:10 -07:00
..
2014-10-21 11:22:26 -07:00
2013-12-03 18:42:41 -08:00
2013-12-03 18:42:41 -08:00
2014-10-01 11:09:37 -07:00
2014-09-11 08:45:46 -07:00
2013-02-01 14:51:19 -08:00
2014-08-22 10:23:12 -07:00
2014-04-10 20:44:27 -07:00
2014-02-21 16:27:21 +00:00
2013-02-13 14:40:48 -08:00
2014-06-12 13:16:36 -07:00
2014-01-03 14:49:37 -08:00
2014-09-22 14:41:30 -07:00