ntdb: respect TDB_NO_FSYNC flag for 'make test'
[ddiss/samba.git] / lib / ntdb / test / api-16-wipe_all.c
index c1bda8e4f408716d26d222c91a56960b85c25515..6a6075275eb8ead08e20b587d32788528c333416 100644 (file)
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
 
        plan_tests(sizeof(flags) / sizeof(flags[0]) * 4 + 1);
        for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) {
-               ntdb = ntdb_open("run-16-wipe_all.ntdb", flags[i],
+               ntdb = ntdb_open("run-16-wipe_all.ntdb", flags[i]|MAYBE_NOSYNC,
                               O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr);
                if (ok1(ntdb)) {
                        NTDB_DATA key;