diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-11 21:28:12 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-11 21:28:12 -0800 |
commit | 0958846cf8048bdfc9306c53a038199e066f7525 (patch) | |
tree | 313d1f619f25df76a0c4d29f19437197865b544f /tests/test_sockets.py | |
parent | d02b4f578039d03bfe49b5dfec88c6025c941c7f (diff) | |
parent | f059aa6401deb99d13af23c64aeef1ebb24c3e3a (diff) |
Merge pull request #1853 from fadams/add-getprotobyname
add getprotobyname and associated functions from netdb.h. Add test_getpr...
Diffstat (limited to 'tests/test_sockets.py')
-rw-r--r-- | tests/test_sockets.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_sockets.py b/tests/test_sockets.py index 1229aa70..f9dcbc68 100644 --- a/tests/test_sockets.py +++ b/tests/test_sockets.py @@ -228,6 +228,9 @@ class sockets(BrowserCore): def test_gethostbyname(self): self.do_run(open(path_from_root('tests', 'sockets', 'test_gethostbyname.c')).read(), 'success') + def test_getprotobyname(self): + self.do_run(open(path_from_root('tests', 'sockets', 'test_getprotobyname.c')).read(), 'success') + def test_sockets_echo(self): sockets_include = '-I'+path_from_root('tests', 'sockets') |