mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
Works fine with the new linking in Linux.
This commit is contained in:
parent
b2b7e9cef1
commit
4583a6304d
@ -207,7 +207,6 @@ function test_totaltimeoutreceive(len, tm, sl)
|
||||
data:settimeout(tm, "total")
|
||||
local t = socket.gettime()
|
||||
str, err, partial, elapsed = data:receive(2*len)
|
||||
print(err, elapsed, socket.gettime() - t)
|
||||
check_timeout(tm, sl, elapsed, err, "receive", "total",
|
||||
string.len(str or partial) == 2*len)
|
||||
end
|
||||
@ -228,7 +227,6 @@ function test_totaltimeoutsend(len, tm, sl)
|
||||
data:settimeout(tm, "total")
|
||||
str = string.rep("a", 2*len)
|
||||
total, err, partial, elapsed = data:send(str)
|
||||
print(elapsed, "!")
|
||||
check_timeout(tm, sl, elapsed, err, "send", "total",
|
||||
total == 2*len)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user