aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-30 18:53:10 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-30 18:53:10 +0000
commita581d2333be87796e2758806d38880e3e2be8a78 (patch)
treeb790421957baf22e41d962a31ca92aed2e6201ae /test
parent167727be3cefb3f45a26b0b1d96dc94a900a84b4 (diff)
downloadluasocket-a581d2333be87796e2758806d38880e3e2be8a78.tar.gz
luasocket-a581d2333be87796e2758806d38880e3e2be8a78.tar.bz2
luasocket-a581d2333be87796e2758806d38880e3e2be8a78.zip
Releasing 2.0 alpha!!!
Diffstat (limited to 'test')
-rw-r--r--test/testclnt.lua32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/testclnt.lua b/test/testclnt.lua
index 20ef0b6..b58ca2b 100644
--- a/test/testclnt.lua
+++ b/test/testclnt.lua
@@ -120,6 +120,7 @@ test_methods(socket.tcp(), {
120 "setsockname", 120 "setsockname",
121 "getpeername", 121 "getpeername",
122 "getsockname", 122 "getsockname",
123 "setoption",
123 "timeout", 124 "timeout",
124 "close", 125 "close",
125}) 126})
@@ -133,6 +134,7 @@ test_methods(socket.udp(), {
133 "sendto", 134 "sendto",
134 "receive", 135 "receive",
135 "receivefrom", 136 "receivefrom",
137 "setoption",
136 "timeout", 138 "timeout",
137 "close", 139 "close",
138}) 140})
@@ -162,21 +164,16 @@ remote "data:send(str); data:close()"
162end 164end
163 165
164 166
165--test_mixed(1) 167test_mixed(1)
166--test_mixed(17) 168test_mixed(17)
167--test_mixed(200) 169test_mixed(200)
168--test_mixed(4091)
169--test_mixed(80199)
170--test_mixed(4091)
171--test_mixed(200)
172--test_mixed(17)
173--test_mixed(1)
174
175test_mixed(4091)
176test_mixed(4091)
177test_mixed(4091)
178test_mixed(4091) 170test_mixed(4091)
171test_mixed(80199)
179test_mixed(4091) 172test_mixed(4091)
173test_mixed(200)
174test_mixed(17)
175test_mixed(1)
176
180------------------------------------------------------------------------ 177------------------------------------------------------------------------
181test("character line") 178test("character line")
182reconnect() 179reconnect()
@@ -203,6 +200,11 @@ test_asciiline(200)
203test_asciiline(4091) 200test_asciiline(4091)
204test_asciiline(80199) 201test_asciiline(80199)
205test_asciiline(800000) 202test_asciiline(800000)
203test_asciiline(80199)
204test_asciiline(4091)
205test_asciiline(200)
206test_asciiline(17)
207test_asciiline(1)
206 208
207------------------------------------------------------------------------ 209------------------------------------------------------------------------
208test("binary line") 210test("binary line")
@@ -479,9 +481,7 @@ function test_selectbugs()
479 pass("invalid input: ok") 481 pass("invalid input: ok")
480end 482end
481 483
482-- test_selectbugs() 484test_selectbugs()
483
484
485 485
486 486
487test(string.format("done in %.2fs", socket.time() - start)) 487test(string.format("done in %.2fs", socket.time() - start))