path: root/tests/nt.c
AgeCommit message (Collapse)AuthorFiles
2019-06-11Test pass-fd componentsSergey Poznyakoff1
* tests/recvfd.c: New source. * tests/.gitignore: Update. * tests/ New test. * tests/ Add new test. * tests/ Add new test. * tests/nt.c: Check all revents bits.
2019-06-11Improve the nt tool. Test inet running instance limit.Sergey Poznyakoff1
* tests/ Add new test. * tests/aux/in.test (PIESCTL): Provide the necessary options. Discontinue the use of STOPCMD environment variable. New commands: enable, sleep, touch. * tests/ (PIES_CONTROL_INIT): Rename pidfile to PIES_PIDFILE and ctlsock to PIES_CTLSOCK. Export both. Include * tests/ Use new variables. * tests/ Remove the env block. * tests/iobuf.h (iobuf_copy): Return number of bytes copied. * tests/ New file. * tests/nt.c (netcat_stream_disconnect): New function. (netcat_stream_read): Disconnect the peer stream if no more input is available and the peer is not available for output (i.e. its output buffer is empty). (netcat_stream_write): Stop polling if output buffer is empty. (netcat): Fix event mask
2019-06-10BugfixSergey Poznyakoff1
* tests/nt.c: Trivial fixes
2019-06-09Test inetd components.Sergey Poznyakoff1
* lib/ Add urlconn.c * lib/libpies.h (url_connect): New proto. * lib/urlconn.c: New file. * src/piesctl.c (shttp_connect): Use url_connect. * tests/.gitignore: Update. * tests/ New auxtool: aux/in.test New test: * tests/aux/in.test: New file. * tests/ New file. * tests/iobuf.h: New file. * tests/nt.c: New file. * tests/ Add new test. * tests/to.c: explicitly terminate the child process on timeout.

Return to:

Send suggestions and report system problems to the System administrator.