Now prints the elapsed time.

This commit is contained in:
Diego Nehab 2001-06-08 22:40:09 +00:00
parent 4456edcd0b
commit e9eafc7480

View File

@ -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))