diff options
author | Fraser Adams <fraser.adams@blueyonder.co.uk> | 2013-11-24 11:16:36 +0000 |
---|---|---|
committer | Fraser Adams <fraser.adams@blueyonder.co.uk> | 2013-11-24 11:16:36 +0000 |
commit | 3e4a22b4a9648dd606cb35814d5100b5ef948ace (patch) | |
tree | b0a78843857f6aff82d9e2ce435c6b5472f77d5a /tests/test_sockets.py | |
parent | b988457c13f77f50e03b4e46fbef4d5e42cfcf33 (diff) |
add getprotobyname and associated functions from netdb.h. Add test_getprotobyname.c test suite and update test_sockets.py to include test_getprotobyname. ./runner.py sockets.test_getprotobyname completes successfully
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') |