On Sun, Feb 03, 2008 at 05:56:37PM +0100, Julio M. Merino Vidal wrote: > > I am interested to know what you would need in ATF to be able to do > that (i.e., the "write tests for my custom functions which run in > kernel space" part). The way I see it, you should either write a > kernel module with the testing code, load it, get the results (or > crash), and unload it (which you can already do with ATF, but > manually). Or you'd just recompile the code as a userland binary and > use it in the tests (as NetBSD's rump allows). Or... your approach? :-) I wrote a kernel module and tested my code by using printf(9). I automated the testing process by parsing the dmesg(8) output ... Cheers, Martin -- PGP Key: http://sosend.de/mk/MartinKulas_sosend_de.pub.asc
Attachment:
pgpWNi5ApVOxI.pgp
Description: PGP signature