path: root/tests/to.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-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.
2019-06-02Rewrite the testsuiteSergey Poznyakoff1
The aim is to run pies in foreground if possible. Limit execution time using external wrapper. * src/pies.c: (_cb_redir): Consistently return 1 on errors. * tests/aux/sleepexit: New file. * tests/aux/startcheck: New file. * tests/aux/touchfile: Change arguments. * tests/aux/respawn: Rewrite. * tests/lines.c: New noinst program. * tests/to.c: New noinst program. * tests/.gitignore: Add new programs. * tests/ Update. * tests/ Use to to avoid hanging forever. Add missing popdef. * tests/ Use echo as component program. * tests/ Run pies in foreground. Use to to limit execution time. * tests/ Likewise. * tests/ Likewise. * tests/ Likewise. * tests/ Use sleepexit as component program. * tests/ Likewise.

Return to:

Send suggestions and report system problems to the System administrator.