summaryrefslogtreecommitdiff
path: root/lib/ntdb/test/run-01-new_database.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ntdb/test/run-01-new_database.c')
-rw-r--r--lib/ntdb/test/run-01-new_database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ntdb/test/run-01-new_database.c b/lib/ntdb/test/run-01-new_database.c
index ae70e86e07..fe142bdece 100644
--- a/lib/ntdb/test/run-01-new_database.c
+++ b/lib/ntdb/test/run-01-new_database.c
@@ -18,8 +18,8 @@ int main(int argc, char *argv[])
failtest_exit_check = exit_check_log;
plan_tests(sizeof(flags) / sizeof(flags[0]) * 3);
for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) {
- ntdb = ntdb_open("run-new_database.ntdb", flags[i],
- O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
+ ntdb = ntdb_open("run-new_database.ntdb", flags[i]|MAYBE_NOSYNC,
+ O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
if (!ok1(ntdb))
failtest_exit(exit_status());