failtest: record close events
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Feb 2011 12:59:13 +0000 (23:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Feb 2011 12:59:13 +0000 (23:29 +1030)
commitc96ab569e73791eabe62e8d1c88b913e89eddc49
treeceef1dc65d24d1174e9d385f92c5c3129d0db554
parent32aaf753429b178eb1a6e79576c005ac915b4447
failtest: record close events

We trap them, might as well put them in history.  This also makes tracking
open file descriptors more robust.
ccan/failtest/failtest.c
ccan/failtest/failtest.h
ccan/failtest/failtest_override.h
ccan/failtest/failtest_proto.h
ccan/failtest/test/run-open.c