mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
Now prints the elapsed time.
This commit is contained in:
parent
4456edcd0b
commit
e9eafc7480
@ -1,8 +1,11 @@
|
||||
-- load http
|
||||
assert(dofile("../lua/http.lua"))
|
||||
assert(dofile("../lua/base64.lua"))
|
||||
assert(dofile("../lua/buffer.lua"))
|
||||
assert(dofile("auxiliar.lua"))
|
||||
|
||||
t = _time()
|
||||
|
||||
-- needs Alias from /home/i/diego/public/html/luasocket/test to
|
||||
-- /luasocket-test
|
||||
-- needs ScriptAlias from /home/i/diego/public/html/luasocket/test/cgi-bin
|
||||
@ -83,3 +86,5 @@ assert(f and m and s and not e, join(s, e))
|
||||
assert(compare(pdir .. "auth/index.html", f), "documents differ")
|
||||
|
||||
print("passed all tests")
|
||||
|
||||
print(format("done in %.2fs", _time() - t))
|
||||
|
Loading…
Reference in New Issue
Block a user