diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dicttest.lua | 3 | ||||
-rw-r--r-- | test/tftptest.lua | 2 | ||||
-rw-r--r-- | test/urltest.lua | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/test/dicttest.lua b/test/dicttest.lua new file mode 100644 index 0000000..fcdd61f --- /dev/null +++ b/test/dicttest.lua | |||
@@ -0,0 +1,3 @@ | |||
1 | local dict = require"socket.dict" | ||
2 | |||
3 | for i,v in dict.get("dict://localhost/d:banana") do print(v) end | ||
diff --git a/test/tftptest.lua b/test/tftptest.lua index f0dbd82..edb6484 100644 --- a/test/tftptest.lua +++ b/test/tftptest.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | -- load tftpclnt.lua | 1 | -- load tftpclnt.lua |
2 | local tftp = require("tftp") | 2 | local tftp = require("socket.tftp") |
3 | 3 | ||
4 | -- needs tftp server running on localhost, with root pointing to | 4 | -- needs tftp server running on localhost, with root pointing to |
5 | -- a directory with index.html in it | 5 | -- a directory with index.html in it |
diff --git a/test/urltest.lua b/test/urltest.lua index eb15bcf..570b52e 100644 --- a/test/urltest.lua +++ b/test/urltest.lua | |||
@@ -1,5 +1,5 @@ | |||
1 | local socket = require("socket") | 1 | local socket = require("socket") |
2 | socket.url = require("url") | 2 | socket.url = require("socket.url") |
3 | dofile("testsupport.lua") | 3 | dofile("testsupport.lua") |
4 | 4 | ||
5 | local check_build_url = function(parsed) | 5 | local check_build_url = function(parsed) |