]> git.ozlabs.org Git - ccan/commitdiff
failtest: hook can return FAIL_PROBE
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Feb 2011 13:01:29 +0000 (23:31 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Feb 2011 13:01:29 +0000 (23:31 +1030)
tdb2 has various places where it recovers from failure (eg. falling
back when it can't open /dev/urandom, or allocation for error
logging).  We want to test those paths, but doing so thoroughly causes
cominatorial explosion.

Add FAIL_PROBE for such cases: in this case it goes only 3 more calls
deep.


No differences found