diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/httptest.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index b88475d..8c78192 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
@@ -1,8 +1,11 @@ | |||
1 | -- load http | 1 | -- load http |
2 | assert(dofile("../lua/http.lua")) | 2 | assert(dofile("../lua/http.lua")) |
3 | assert(dofile("../lua/base64.lua")) | 3 | assert(dofile("../lua/base64.lua")) |
4 | assert(dofile("../lua/buffer.lua")) | ||
4 | assert(dofile("auxiliar.lua")) | 5 | assert(dofile("auxiliar.lua")) |
5 | 6 | ||
7 | t = _time() | ||
8 | |||
6 | -- needs Alias from /home/i/diego/public/html/luasocket/test to | 9 | -- needs Alias from /home/i/diego/public/html/luasocket/test to |
7 | -- /luasocket-test | 10 | -- /luasocket-test |
8 | -- needs ScriptAlias from /home/i/diego/public/html/luasocket/test/cgi-bin | 11 | -- 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)) | |||
83 | assert(compare(pdir .. "auth/index.html", f), "documents differ") | 86 | assert(compare(pdir .. "auth/index.html", f), "documents differ") |
84 | 87 | ||
85 | print("passed all tests") | 88 | print("passed all tests") |
89 | |||
90 | print(format("done in %.2fs", _time() - t)) | ||