diff options
Diffstat (limited to 'lib/tdb/test/run-die-during-transaction.c')
-rw-r--r-- | lib/tdb/test/run-die-during-transaction.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tdb/test/run-die-during-transaction.c b/lib/tdb/test/run-die-during-transaction.c index d6502f4ea4..ae7dafcfac 100644 --- a/lib/tdb/test/run-die-during-transaction.c +++ b/lib/tdb/test/run-die-during-transaction.c @@ -194,7 +194,12 @@ reset: return false; } +#ifdef HAVE_INCOHERENT_MMAP + /* This means we always mmap, which makes this test a noop. */ + ok1(1); +#else ok1(needed_recovery); +#endif ok1(locking_errors == 0); ok1(forget_locking() == 0); locking_errors = 0; |