lib/tdb: fix test/run-die-during-transaction when HAVE_INCOHERENT_MMAP.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 23 Mar 2012 00:13:48 +0000 (10:43 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 23 Mar 2012 00:13:48 +0000 (10:43 +1030)
commitc12970cc91cb4da8976801e194e29e33e02b340a
tree02d3508460aaa02fd50315101733536a11433e28
parent330e3e1b91ecbf99af3b598b324f21b5eff933fd
lib/tdb: fix test/run-die-during-transaction when HAVE_INCOHERENT_MMAP.

Since we force mmap on, we don't intercept writes to the db, so we never
see it in an inconsistent state.  #ifdef over the check that we should have
recovered it at least once.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb/test/run-die-during-transaction.c