diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-09-27 04:01:18 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-09-27 04:01:18 +0000 |
commit | a04f15d1ca440006a53bd0d9f98c12e5abebd969 (patch) | |
tree | 30d37d74b5c99d5d0e7489a421ec44ad0150113f /test | |
parent | e1d318f26cf53ce9b2c3044d8d138956150488c7 (diff) | |
download | luasocket-a04f15d1ca440006a53bd0d9f98c12e5abebd969.tar.gz luasocket-a04f15d1ca440006a53bd0d9f98c12e5abebd969.tar.bz2 luasocket-a04f15d1ca440006a53bd0d9f98c12e5abebd969.zip |
Using new module scheme. Still needs fine tuning.
Diffstat (limited to 'test')
-rw-r--r-- | test/httptest.lua | 10 | ||||
-rw-r--r-- | test/mimetest.lua | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index ce7a93b..71021a4 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
@@ -4,15 +4,15 @@ | |||
4 | -- to "/luasocket-test-cgi" and "/luasocket-test-cgi/" | 4 | -- to "/luasocket-test-cgi" and "/luasocket-test-cgi/" |
5 | -- needs "AllowOverride AuthConfig" on /home/c/diego/tec/luasocket/test/auth | 5 | -- needs "AllowOverride AuthConfig" on /home/c/diego/tec/luasocket/test/auth |
6 | local socket = require("socket") | 6 | local socket = require("socket") |
7 | local http = require("socket.http") | ||
8 | local url = require("socket.url") | ||
7 | 9 | ||
8 | -- override protection to make sure we see all errors | ||
9 | -- socket.protect = function(s) return s end | ||
10 | |||
11 | local http = require("http") | ||
12 | local mime = require("mime") | 10 | local mime = require("mime") |
13 | local url = require("url") | ||
14 | local ltn12 = require("ltn12") | 11 | local ltn12 = require("ltn12") |
15 | 12 | ||
13 | -- override protection to make sure we see all errors | ||
14 | -- socket.protect = function(s) return s end | ||
15 | |||
16 | dofile("testsupport.lua") | 16 | dofile("testsupport.lua") |
17 | 17 | ||
18 | local host, proxy, request, response, index_file | 18 | local host, proxy, request, response, index_file |
diff --git a/test/mimetest.lua b/test/mimetest.lua index 0b3db33..d9bb772 100644 --- a/test/mimetest.lua +++ b/test/mimetest.lua | |||
@@ -8,7 +8,7 @@ local qptest = "qptest.bin" | |||
8 | local eqptest = "qptest.bin2" | 8 | local eqptest = "qptest.bin2" |
9 | local dqptest = "qptest.bin3" | 9 | local dqptest = "qptest.bin3" |
10 | 10 | ||
11 | local b64test = "luasocket.dylib" | 11 | local b64test = "lsocket.2.0.dylib" |
12 | local eb64test = "b64test.bin" | 12 | local eb64test = "b64test.bin" |
13 | local db64test = "b64test.bin2" | 13 | local db64test = "b64test.bin2" |
14 | 14 | ||