failtest: detect leaks in children.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Feb 2011 13:02:13 +0000 (23:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Feb 2011 13:02:13 +0000 (23:32 +1030)
commit460f62ce63a6ef4aaa0f8840474c039f7e73399f
tree44ab6787b26127b9b13ebaf094a84912d0ec09d4
parentc9f915e02c760caffe75da7f9a6a9a1de1bf1747
failtest: detect leaks in children.

If we need to clean up the children, they didn't exit cleanly.

This takes a bit more care when writing tests, but found a leak in tdb2.
ccan/failtest/failtest.c
ccan/failtest/test/run-write.c