aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-02 12:41:22 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-02 12:41:22 -0700
commitd62af69d5347f670c678efae81d3dbf69bb88fd4 (patch)
treeecd74993712237c6635f674ccf4a894475584895 /tests/runner.py
parent0035201655ece68da0e1f201e2028562869328d5 (diff)
support for connecting to sockets with fake ips from gethostbyname
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 2fe41a84..07c5e990 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8791,6 +8791,13 @@ elif 'browser' in str(sys.argv):
finally:
self.clean_pids()
+ def test_zz_websockets_gethostbyname(self):
+ try:
+ with self.WebsockHarness(7000):
+ self.btest('websockets_gethostbyname.c', expected='571')
+ finally:
+ self.clean_pids()
+
def zzztest_zz_enet(self):
#try:
# with self.WebsockHarness(8992, self.relay_server):