Kernel Mocking

Kenneth Adam Miller kennethadammiller at
Fri Feb 20 14:51:25 EST 2015

So, in userland development, the idea of mocking is used to isolate context
management and machine configuration into a single class or set of
functions that can be reused, and also facilitate testing much easier.
Google mock is a great example.

Say I develop a kernel module, and I want that module to have some result X
after some returned result, whatever that might be. Is there anything
similar for kernel code?
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list