tests: detect fd leaks
authorPekka Paalanen <ppaalanen@gmail.com>
Thu, 19 Apr 2012 13:52:32 +0000 (16:52 +0300)
committerPekka Paalanen <ppaalanen@gmail.com>
Fri, 20 Apr 2012 11:58:31 +0000 (14:58 +0300)
commite0561ac68d4db23906ca7e61bf191da4451711fd
treef1c35d58239fe67859cb47022e0fb17b1d27bc06
parent2896b6a22040dab70655bc271025f99ba92e6bb1
tests: detect fd leaks

Detect file descriptor leaks in tests.

Add a sanity test to verify that we catch the leaks.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
tests/Makefile.am
tests/sanity-test.c
tests/test-helpers.c [new file with mode: 0644]
tests/test-runner.c
tests/test-runner.h