mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
0265837ee8
This reduces test time from 31 seconds to 6, on my laptop. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 lines
206 B
C
7 lines
206 B
C
#ifndef NTDB_NO_FSYNC_H
|
|
#define NTDB_NO_FSYNC_H
|
|
/* Obey $TDB_NO_FSYNC, a bit like tdb does (only note our NTDB_NOSYNC
|
|
* does less) */
|
|
#define MAYBE_NOSYNC (getenv("TDB_NO_FSYNC") ? NTDB_NOSYNC : 0)
|
|
#endif
|