From 4cbd8e19839f82b1101d526a0efbd5d3d2064950 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Mon, 30 Jun 2003 18:57:07 +0000 Subject: [PATCH] And this. --- test/README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/README diff --git a/test/README b/test/README new file mode 100644 index 0000000..2502e20 --- /dev/null +++ b/test/README @@ -0,0 +1,23 @@ +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.