On May 21, 10:31pm, jmmv%julipedia.org@localhost (Julio Merino) wrote:
-- Subject: Re: CVS commit: src/tests/syscall
| Sounds like a good idea. Note that there is *many* more things that
| will not work. The test case will dump garbage in the current directory
| and it won't be cleaned, the environment won't be sanitized, child
| processes won't be killed...
It could mention all of them.
| Tests used to do exactly that more than a year ago, but it turned out to
| be a bad idea...
|
| The test programs were extremely complex: they had to implement all the
| test case isolation (work directory, timeouts, etc.) themselves, and
| that meant having to implement the same thing in C, C++ and shell.
I don't see why. You just put it all in a shared library written in c and
used from c++. Shell you have already.