]> git.ozlabs.org Git - ccan/commit
tdb2: simplify failtest helper.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:41:11 +0000 (09:11 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 29 Nov 2011 22:41:11 +0000 (09:11 +1030)
commit3d99c9334fe3067c88772547b9c06acec21616ea
treed88eba46131edb5f1ffa994d1eb4d0b3641bc782
parent931f1941d3000b38ee1c45a987c219e7e25f125c
tdb2: simplify failtest helper.

failtest now culls duplicates for itself (and more efficiently), so
don't replicate the logic here.  It changes things a bit, because
failtest uses backtraces rather than a simple call point to find
duplicates.

Also, fix one case (in run-11-simple-fetch.c) where we simply exited
rather than using failtest_exit().  We got away with it before, because
we never hit that particular failure pattern.
ccan/tdb2/test/failtest_helper.c
ccan/tdb2/test/run-11-simple-fetch.c