]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-tdb1-check.c
tdb2: suppress tdb1 backend logging when locking returns EINTR or EAGAIN
[ccan] / ccan / tdb2 / test / run-tdb1-check.c
index fb49b64e48e0ff452f4acf6a3015702f727433c8..f05608feaadc1929a4804f219b456ce1ae66fc58 100644 (file)
@@ -10,7 +10,7 @@ int main(int argc, char *argv[])
        TDB_DATA key, data;
 
        plan_tests(13);
-       tdb = tdb1_open_ex("run-check.tdb", 1, TDB1_CLEAR_IF_FIRST,
+       tdb = tdb1_open_ex("run-check.tdb", 1, TDB_DEFAULT,
                          O_CREAT|O_TRUNC|O_RDWR, 0600, &taplogctx, NULL);
 
        ok1(tdb);