A method for testing a service that provides interface functions having no user
space interaction and that is runs in a kernel space of an operating system. The
method includes loading into the kernel space a dynamically loadable kernel module
(DLKM) containing a pseudo device driver having interface commands corresponding
to the interface functions of the service to be tested, invoking the interface
commands to exercise the interface functions to be tested, and unloading the DLKM module.