]> git.ozlabs.org Git - ccan/commitdiff
tdb: test that new-style TDBs with non-default hashes can't be opened.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 10 Sep 2010 03:20:16 +0000 (12:50 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 10 Sep 2010 03:20:16 +0000 (12:50 +0930)
We currently allow opening of a TDB without any idea if we're using the
right hash function.  Since most people use the default, this hasn't been
a big issue.

The next change will put an example hash value in the rwlocks field in
the header: current TDB already refuses to open a TDB with this field
non-zero.  This commit simply adds tests that that occurs.


No differences found