luasocket/test
moteus 920bc97629 Build with Lua 5.2 without LUA_COMPAT_MODULE flag.
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
2013-05-27 12:45:09 +04:00
..
auth Almost done 2.0.1. 2006-04-03 04:45:42 +00:00
cgi The test directory! 2003-03-21 23:49:18 +00:00
dicttest.lua Updates for 2.0.1 on the way. 2006-03-19 21:22:21 +00:00
excepttest.lua Forgot a few files. 2004-07-01 05:38:44 +00:00
find-connect-limit Utility to find how many TCP connections can be made. 2012-04-11 13:45:59 -07:00
ftptest.lua Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
hello.lua Build with Lua 5.2 without LUA_COMPAT_MODULE flag. 2013-05-27 12:45:09 +04:00
httptest.lua Use the length operator (#) instead of table.getn. 2013-02-25 20:28:28 -02:00
index.html The test directory! 2003-03-21 23:49:18 +00:00
ltn12test.lua More to do. 2004-12-07 20:39:02 +00:00
luasocket.png Better image to test mail. 2006-04-02 23:24:37 +00:00
mimetest.lua Decent makefiles! 2009-05-27 09:31:38 +00:00
README Decent makefiles! 2009-05-27 09:31:38 +00:00
smtptest.lua Use the length operator (#) instead of table.getn. 2013-02-25 20:28:28 -02:00
stufftest.lua More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
tcp-getoptions Support getoption method for tcp objects. 2012-04-11 13:54:01 -07:00
test_bind.lua Fix. setsockname fails with "*" as host. 2013-05-27 11:25:31 +04:00
test_getaddrinfo.lua Fix. getaddrinfo returns garbage as address on Windows. 2013-05-27 11:20:52 +04:00
testclnt.lua Fix. Optional IPv6 test 2013-05-27 11:26:35 +04:00
testmesg.lua Decent makefiles! 2009-05-27 09:31:38 +00:00
testsrvr.lua Select loadstring or load for Lua 5.1/5.2 respectively 2012-04-29 20:46:35 +02:00
testsupport.lua Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
tftptest.lua Almost ready for beta3 2004-11-27 07:58:04 +00:00
udp-zero-length-send Stop returning an error after successful send of zero length UDP packets 2012-04-11 13:45:59 -07:00
udp-zero-length-send-recv On failure, exit with a message instead of blocking indefinitely. 2012-04-11 13:54:01 -07:00
udpconnectclnt.lua Fix udp:setpeername("*") 2012-08-23 19:31:15 -03:00
udpconnectsrvr.lua Fix udp:setpeername("*") 2012-08-23 19:31:15 -03:00
unixclnt.lua Added simple unix tests. 2007-04-09 22:04:13 +00:00
unixsrvr.lua Added simple unix tests. 2007-04-09 22:04:13 +00:00
upload.html The test directory! 2003-03-21 23:49:18 +00:00
urltest.lua Use the length operator (#) instead of table.getn. 2013-02-25 20:28:28 -02:00
utestclnt.lua remove uses of arg in the codebase 2013-01-23 19:13:32 +01:00
utestsrvr.lua Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00

This provides the  automated test scripts used to make  sure the library
is working properly.

The files provided are:

    testsrvr.lua            -- test server
    testclnt.lua            -- test client

To run these tests, just run lua on the server and then on the client. 

    hello.lua               -- run to verify if installation worked

Good luck,
Diego.