aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dicttest.lua3
-rw-r--r--test/tftptest.lua2
-rw-r--r--test/urltest.lua2
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 @@
1local dict = require"socket.dict"
2
3for 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
2local tftp = require("tftp") 2local 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 @@
1local socket = require("socket") 1local socket = require("socket")
2socket.url = require("url") 2socket.url = require("socket.url")
3dofile("testsupport.lua") 3dofile("testsupport.lua")
4 4
5local check_build_url = function(parsed) 5local check_build_url = function(parsed)