On 08/19/10 16:04, Anthony Liguori wrote:
On 08/19/2010 07:40 AM, Gerd Hoffmann wrote:
Signed-off-by: Gerd Hoffmann<kra...@redhat.com>
This code is more or less stand alone so it's a good candidate for
having some in-tree unit tests.
I can provide some examples of how it should be done if you like, but
just something that lives in tests/ that exercises the functionality and
can be run under valgrind to verify that we aren't leaking memory.
Yea, some example would be great. Commented tests/example.c maybe?
thanks,
Gerd