diff options
author | Pekka Paalanen <ppaalanen@gmail.com> | 2012-04-19 16:52:32 +0300 |
---|---|---|
committer | Pekka Paalanen <ppaalanen@gmail.com> | 2012-04-20 14:58:31 +0300 |
commit | e0561ac68d4db23906ca7e61bf191da4451711fd (patch) | |
tree | f1c35d58239fe67859cb47022e0fb17b1d27bc06 /tests/test-runner.h | |
parent | 2896b6a22040dab70655bc271025f99ba92e6bb1 (diff) |
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>
Diffstat (limited to 'tests/test-runner.h')
-rw-r--r-- | tests/test-runner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-runner.h b/tests/test-runner.h index 0614101..edcf592 100644 --- a/tests/test-runner.h +++ b/tests/test-runner.h @@ -31,4 +31,7 @@ struct test { \ static void name(void) +int +count_open_fds(void); + #endif |