]> git.ozlabs.org Git - ccan/commit
tdb2: fix intermittant failure in run-50-multiple-freelists-fail.c
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Aug 2011 03:17:08 +0000 (12:47 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Aug 2011 03:17:08 +0000 (12:47 +0930)
commit60a487d57979e4364e70c837079f3cf083ddc9c7
tree6ba92d77eade3ba0c765c09567ec842b93623fc5
parentd1a8796172f3298d087003c623a049f1177fd060
tdb2: fix intermittant failure in run-50-multiple-freelists-fail.c

layout.c's TDB creation functions were incorrect in case of a hash
collision, causing occasional failure.  Make it always use the
(previously-failing) seed value, and fix it.
ccan/tdb2/test/layout.c
ccan/tdb2/test/layout.h
ccan/tdb2/test/run-03-coalesce.c
ccan/tdb2/test/run-50-multiple-freelists.c