summaryrefslogtreecommitdiff
path: root/lib/ntdb/test/run-lockall.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ntdb/test/run-lockall.c')
-rw-r--r--lib/ntdb/test/run-lockall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ntdb/test/run-lockall.c b/lib/ntdb/test/run-lockall.c
index c4bfb0e5cd..5ec448c982 100644
--- a/lib/ntdb/test/run-lockall.c
+++ b/lib/ntdb/test/run-lockall.c
@@ -33,8 +33,8 @@ int main(int argc, char *argv[])
enum agent_return ret;
struct ntdb_context *ntdb;
- ntdb = ntdb_open(TEST_DBNAME, flags[i],
- O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
+ ntdb = ntdb_open(TEST_DBNAME, flags[i]|MAYBE_NOSYNC,
+ O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
ok1(ntdb);
ret = external_agent_operation(agent, OPEN, TEST_DBNAME);