luasocket/test
Sam Roberts 3b19f2a7ed testsrvr asserts when test finishes successfully.
When the test client finishes, the test server asserts with a "closed" message.
After looking carefully at this, I think the tests are running
successfully and passing. Since it appears to be a test failure, I
modified the server to allow the client to close the control connection.
2012-04-11 13:45:59 -07: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 Before compiling on Windows. 2005-10-07 04:40:59 +00:00
httptest.lua Couple bug fixes. 2007-03-12 04:08:40 +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 LTN12 bug removed. 2004-11-28 02:36:07 +00:00
README Almost ready for distribution... 2004-06-17 21:46:22 +00:00
smtptest.lua Stupid bug in http.lua. 2005-06-12 22:02:21 +00:00
stufftest.lua More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
testclnt.lua Removed os.exit from test. 2007-06-11 23:52:48 +00:00
testmesg.lua Crashy bug fixed in recvraw. 2007-06-11 23:44:54 +00:00
testsrvr.lua testsrvr asserts when test finishes successfully. 2012-04-11 13:45:59 -07:00
testsupport.lua complicated bug in ltn12.filter.chain... 2004-04-01 07:32:53 +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 Test showing failure to receive a zero-length packet. 2012-04-11 13:45:59 -07: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 Almost ready to release. 2005-09-29 06:11:42 +00:00
utestclnt.lua Forward server working on Mac OS X... 2005-02-08 10:01:01 +00: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. 

Good luck,
Diego.