aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/testclnt.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testclnt.lua b/test/testclnt.lua
index ad3741a..b4b7063 100644
--- a/test/testclnt.lua
+++ b/test/testclnt.lua
@@ -447,8 +447,9 @@ end
447 447
448------------------------------------------------------------------------ 448------------------------------------------------------------------------
449function rebind_test() 449function rebind_test()
450 local c ,c1 = socket.bind("localhost", 0) 450 --local c ,c1 = socket.bind("localhost", 0)
451 if not c then pass ("failed to bind! " .. c .. ' ' .. c1) return end 451 local c ,c1 = socket.bind("127.0.0.1", 0)
452 if not c then pass ("failed to bind! " .. tostring(c) .. ' ' .. tostring(c1)) return end
452 assert(c,c1) 453 assert(c,c1)
453 454
454 local i, p = c:getsockname() 455 local i, p = c:getsockname()