Fix most of the bsddb3 tests.
15 files changed