summaryrefslogtreecommitdiff
path: root/lib/ntdb/test/api-fork-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ntdb/test/api-fork-test.c')
-rw-r--r--lib/ntdb/test/api-fork-test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ntdb/test/api-fork-test.c b/lib/ntdb/test/api-fork-test.c
index 63003dad3a..6298a4af01 100644
--- a/lib/ntdb/test/api-fork-test.c
+++ b/lib/ntdb/test/api-fork-test.c
@@ -64,8 +64,9 @@ int main(int argc, char *argv[])
tap_log_messages = 0;
- ntdb = ntdb_open("run-fork-test.ntdb", flags[i],
- O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
+ ntdb = ntdb_open("run-fork-test.ntdb",
+ flags[i]|MAYBE_NOSYNC,
+ O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
if (!ok1(ntdb))
continue;