aboutsummaryrefslogtreecommitdiff
path: root/test/testclnt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/testclnt.lua')
-rw-r--r--test/testclnt.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/testclnt.lua b/test/testclnt.lua
index 3f217bd..2420711 100644
--- a/test/testclnt.lua
+++ b/test/testclnt.lua
@@ -84,19 +84,19 @@ function reconnect()
84 remote [[ 84 remote [[
85 if data then data:close() data = nil end 85 if data then data:close() data = nil end
86 data = server:accept() 86 data = server:accept()
87 -- data:setoption("nodelay", true) 87 data:setoption("tcp-nodelay", true)
88 ]] 88 ]]
89 data, err = socket.connect(host, port) 89 data, err = socket.connect(host, port)
90 if not data then fail(err) 90 if not data then fail(err)
91 else pass("connected!") end 91 else pass("connected!") end
92 -- data:setoption("nodelay", true) 92 data:setoption("tcp-nodelay", true)
93end 93end
94 94
95pass("attempting control connection...") 95pass("attempting control connection...")
96control, err = socket.connect(host, port) 96control, err = socket.connect(host, port)
97if err then fail(err) 97if err then fail(err)
98else pass("connected!") end 98else pass("connected!") end
99-- control:setoption("nodelay", true) 99control:setoption("tcp-nodelay", true)
100 100
101------------------------------------------------------------------------ 101------------------------------------------------------------------------
102test("method registration") 102test("method registration")