luasocket/test
Diego Nehab 6368caeb5a Fix udp:setpeername("*")
There seems to be a curious difference between MacOS and
Linux and I am not sure if this is documented. When you
break a "connection" on Mac OS, you only eliminate the peer
association, but the local address remains bound. On Linux,
breaking a "connection" eliminates the binding to the local
address. Have you guys ever come accross this?

Another irritating difference is that connect() returns the
error EAFNOSUPPORT on Mac OS. I am going to ignore all
errors when the reason for calling connect() is simply to
break the "connection".
2012-08-23 19:31:15 -03: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
README Decent makefiles! 2009-05-27 09:31:38 +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 Decent makefiles! 2009-05-27 09:31:38 +00:00
httptest.lua Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00: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
smtptest.lua Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00: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
testclnt.lua Test server exits gracefully at command of test client 2012-05-01 16:21:06 +08: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 Making progress toward a release 2012-04-23 00:18:45 +08:00
utestclnt.lua Saving before big changes to support IPv6. 2011-05-25 20:57:22 +00:00
utestsrvr.lua Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00

README

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.