diff options
Diffstat (limited to 'lib/ntdb/test/run-90-get-set-attributes.c')
-rw-r--r-- | lib/ntdb/test/run-90-get-set-attributes.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ntdb/test/run-90-get-set-attributes.c b/lib/ntdb/test/run-90-get-set-attributes.c index 4f8792569f..5548aa4f7e 100644 --- a/lib/ntdb/test/run-90-get-set-attributes.c +++ b/lib/ntdb/test/run-90-get-set-attributes.c @@ -50,8 +50,9 @@ int main(int argc, char *argv[]) union ntdb_attribute attr; /* First open with no attributes. */ - ntdb = ntdb_open("run-90-get-set-attributes.ntdb", flags[i], - O_RDWR|O_CREAT|O_TRUNC, 0600, NULL); + ntdb = ntdb_open("run-90-get-set-attributes.ntdb", + flags[i] |MAYBE_NOSYNC, + O_RDWR|O_CREAT|O_TRUNC, 0600, NULL); ok1(ntdb); /* Get log on no attributes will fail */ @@ -111,9 +112,10 @@ int main(int argc, char *argv[]) ok1(tap_log_messages == 0); /* Now open with all attributes. */ - ntdb = ntdb_open("run-90-get-set-attributes.ntdb", flags[i], - O_RDWR|O_CREAT|O_TRUNC, 0600, - &seed_attr); + ntdb = ntdb_open("run-90-get-set-attributes.ntdb", + flags[i] | MAYBE_NOSYNC, + O_RDWR|O_CREAT|O_TRUNC, 0600, + &seed_attr); ok1(ntdb); |