diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 209064fc..776ebcb2 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8450,14 +8450,14 @@ elif 'browser' in str(sys.argv): def zzztest_websockets(self): try: def server_func(): - os.system('while true; do (/bin/echo -en "test\x02" ; sleep 1000) | nc -vvvl 8990; done;') # sleep to work around websockify issue 63 + os.system('while true; do (/bin/echo -en "te\x01\xff\x79st\x02" ; sleep 1000) | nc -vvvl 127.0.0.1 8990; done;') # sleep to work around websockify issue 63 server = multiprocessing.Process(target=server_func) server.start() print '[Socket server on process %d]' % server.pid def websockify_func(): - os.system('python ' + path_from_root('third_party', 'websockify', 'run') + ' -vvv 8991 127.0.0.1:8990') + os.system(path_from_root('third_party', 'websockify', 'other', 'websockify') + ' -vvv 8991 127.0.0.1:8990') websockify = multiprocessing.Process(target=websockify_func) websockify.start() |