luasocket/test
2004-06-17 06:23:13 +00:00
..
auth http.lua updated. still needs proxy support. 2004-01-16 07:06:31 +00:00
cgi The test directory! 2003-03-21 23:49:18 +00:00
ftptest.lua Starting to use RCS in princeton again. Not behind a firewall anymore. 2003-08-31 00:58:07 +00:00
httptest.lua smtp.c was eatten by mime.c 2004-06-17 06:23:13 +00:00
index.html The test directory! 2003-03-21 23:49:18 +00:00
ltn12test.lua FTP low-level working. 2004-05-25 05:27:44 +00:00
mimetest.lua Compiled and tested on Windows... 2004-06-17 00:18:48 +00:00
README And this. 2003-06-30 18:57:07 +00:00
smtptest.lua Adjusted some details, got rid of old files, added some new. 2004-03-22 04:15:03 +00:00
stufftest.lua Fixed smtp.lua loading. 2004-06-16 01:02:07 +00:00
testclnt.lua Compiled and tested on Windows... 2004-06-17 00:18:48 +00:00
testmesg.lua Fixed smtp.lua loading. 2004-06-16 01:02:07 +00:00
testsrvr.lua Runs on Linux. 2004-06-15 20:05:23 +00:00
testsupport.lua complicated bug in ltn12.filter.chain... 2004-04-01 07:32:53 +00:00
tftptest.lua Fixed smtp.lua loading. 2004-06-16 01:02:07 +00:00
upload.html The test directory! 2003-03-21 23:49:18 +00:00
urltest.lua Manual is almost done. HTTP is missing. 2004-06-15 06:24:00 +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
    testcmd.lua             -- test command definitions

To run  the automatic  tests on  your system, make  sure to  compile the
library  with  _DEBUG  defined  (check   makefile)  and  then  open  two
terminals. Run  'luasocket testsrvr.lua' on  one of them  and 'luasocket
testclnt.lua' on  the other. The  programs should start talking  to each
other and report any failure. The tests can also be used as a benchmark.

    urltest.lua             -- url.lua test module
    codetest.lua            -- code.lua test module
    concattest.lua          -- concat.lua test module

To run these tests, just run luasocket on them and see the results.

Good luck,
Diego.