]> git.ozlabs.org Git - ccan-lca-2011.git/commit
rbtree: use failtest to check handling of allocation failures.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 10 Jan 2011 05:53:46 +0000 (16:23 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 10 Jan 2011 05:53:46 +0000 (16:23 +1030)
commitc0ea2922129a17724930f1c3b535985d7576d63e
treecdfe67985a72d26e3c1caa1fa684d647fec09ed8
parent8d20b53ecd76773591e95db3bdfcbbd5129efb9e
rbtree: use failtest to check handling of allocation failures.

Unfortunately this means we have to reduce run-many from 1000 nodes to 100
(as forking under valgrind is really slow: test takes about 2 minutes with
100 nodes).
ccan/rbtree/_info
ccan/rbtree/test/run-many.c
ccan/rbtree/test/run.c