summaryrefslogtreecommitdiff
path: root/lib/ntdb/test/api-21-parse_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ntdb/test/api-21-parse_record.c')
-rw-r--r--lib/ntdb/test/api-21-parse_record.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ntdb/test/api-21-parse_record.c b/lib/ntdb/test/api-21-parse_record.c
index fa48562e17..975bbfaf1c 100644
--- a/lib/ntdb/test/api-21-parse_record.c
+++ b/lib/ntdb/test/api-21-parse_record.c
@@ -55,8 +55,9 @@ int main(int argc, char *argv[])
plan_tests(sizeof(flags) / sizeof(flags[0]) * 2 + 1);
for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) {
- ntdb = ntdb_open("api-21-parse_record.ntdb", flags[i],
- O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
+ ntdb = ntdb_open("api-21-parse_record.ntdb",
+ flags[i]|MAYBE_NOSYNC,
+ O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
if (ok1(ntdb))
ok1(test_records(ntdb));
ntdb_close(ntdb);