Commit eab88f57 authored by Denis Bilenko's avatar Denis Bilenko

add test for issue #27: getaddrinfo improperly handles case where socktype or...

add test for issue #27: getaddrinfo improperly handles case where socktype or proto is 0. Thanks to Randall Leeds.
parent 84a695bc
......@@ -41,6 +41,7 @@ class TestCase(greentest.TestCase):
PORTS = [80, 0, 53]
getaddrinfo_args = [(),
(AF_UNSPEC, ),
(AF_UNSPEC, SOCK_STREAM, 0, 0),
(AF_INET, SOCK_STREAM, ),
(AF_UNSPEC, SOCK_DGRAM, ),
(AF_INET, SOCK_RAW, ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment