luasocket/test
Thijs Schreijer 601ad8d59f
refactor: Address issues raised by linter
2022-03-19 17:13:15 +03:00
..
auth Preserve path when parsing urls. 2017-03-20 16:56:15 -03: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 Don't swallow errors in finalizers. 2016-02-24 00:48:43 +01:00
find-connect-limit test/find-connect-limit: add missing "socket =" 2020-03-28 22:21:23 +00:00
ftptest.lua Family agostic FTP and expose HTTP/FTP url parsing 2016-03-07 01:30:30 -03:00
hello.lua Build with Lua 5.2 without LUA_COMPAT_MODULE flag. 2013-05-27 12:45:09 +04:00
httptest.lua Out of the box support for Lua 5.3. 2015-02-18 20:51:37 -02:00
index.html The test directory! 2003-03-21 23:49:18 +00:00
ltn12test.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
luasocket.png Better image to test mail. 2006-04-02 23:24:37 +00:00
mimetest.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
smtptest.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
stufftest.lua More adjustments/bugfixes. 2004-06-21 06:07:58 +00:00
tcp-getoptions test/getoptions: guard calls with pcall(); check result of getoption"linger" 2020-03-28 22:21:23 +00: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
test_socket_error.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
testclnt.lua Changed buffer-per-socket to buffer-per-operation. 2015-10-06 11:33:50 +08:00
testmesg.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
testsrvr.lua New agnostic IPv4 IPv6 functions. 2015-08-22 19:52:01 -03:00
testsupport.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
tftptest.lua Almost ready for beta3 2004-11-27 07:58:04 +00:00
udp-zero-length-send test/udp-zero-length-send: add missing "socket ="; use shebang "#!/usr/bin/env lua" 2020-03-28 22:21:23 +00:00
udp-zero-length-send-recv test/udp-zero-length-send-recv: add missing "socket ="; use shebang "#!/usr/bin/env lua" 2020-03-28 22:21:23 +00:00
udpconnectclnt.lua New agnostic IPv4 IPv6 functions. 2015-08-22 19:52:01 -03:00
udpconnectsrvr.lua Fix udp:setpeername("*") 2012-08-23 19:31:15 -03:00
unixdgramclnt.lua rename unix.tcp to unix.stream, unix.udp to unix.dgram 2016-12-25 23:33:10 +08:00
unixdgramsrvr.lua rename unix.tcp to unix.stream, unix.udp to unix.dgram 2016-12-25 23:33:10 +08:00
unixstreamclnt.lua rename unix.tcp to unix.stream, unix.udp to unix.dgram 2016-12-25 23:33:10 +08:00
unixstreamsrvr.lua rename unix.tcp to unix.stream, unix.udp to unix.dgram 2016-12-25 23:33:10 +08:00
upload.html The test directory! 2003-03-21 23:49:18 +00:00
urltest.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
utestclnt.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03:00
utestsrvr.lua refactor: Address issues raised by linter 2022-03-19 17:13:15 +03: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.