diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-20 22:19:54 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-20 22:19:54 +0000 |
| commit | f7579db9e830ef41f422a280d26c9077f48728e5 (patch) | |
| tree | d96affac7f5e8203d2e9c4a053213a992cd76650 /test/httptest.lua | |
| parent | 5dc5c3ebe8f111bba01762ca0f5edba912c4f0b9 (diff) | |
| download | luasocket-f7579db9e830ef41f422a280d26c9077f48728e5.tar.gz luasocket-f7579db9e830ef41f422a280d26c9077f48728e5.tar.bz2 luasocket-f7579db9e830ef41f422a280d26c9077f48728e5.zip | |
Fixing bugs...
Diffstat (limited to 'test/httptest.lua')
| -rw-r--r-- | test/httptest.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index 0ba6f56..ea8465d 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
| @@ -17,7 +17,7 @@ local ignore, expect, index, prefix, cgiprefix, index_crlf | |||
| 17 | 17 | ||
| 18 | http.TIMEOUT = 10 | 18 | http.TIMEOUT = 10 |
| 19 | 19 | ||
| 20 | local t = socket.time() | 20 | local t = socket.gettime() |
| 21 | 21 | ||
| 22 | host = host or "diego.student.princeton.edu" | 22 | host = host or "diego.student.princeton.edu" |
| 23 | proxy = proxy or "http://localhost:3128" | 23 | proxy = proxy or "http://localhost:3128" |
| @@ -416,4 +416,4 @@ print("ok") | |||
| 416 | print("passed all tests") | 416 | print("passed all tests") |
| 417 | os.remove("err") | 417 | os.remove("err") |
| 418 | 418 | ||
| 419 | print(string.format("done in %.2fs", socket.time() - t)) | 419 | print(string.format("done in %.2fs", socket.gettime() - t)) |
