]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-enlarge_hash.c
tdb2: tdb_append implemented, beef up tests.
[ccan] / ccan / tdb2 / test / run-enlarge_hash.c
index ca8d3b9590e52ad7193c5c42b2c508f469fc3750..28299081550e372254c99e27a36138ec4230c85c 100644 (file)
@@ -21,8 +21,9 @@ int main(int argc, char *argv[])
        struct tdb_data data = { (unsigned char *)&v, sizeof(v) };
        union tdb_attribute hattr = { .hash = { .base = { TDB_ATTRIBUTE_HASH },
                                                .hash_fn = clash } };
-       int flags[] = { TDB_INTERNAL, TDB_DEFAULT,
-                       TDB_INTERNAL|TDB_CONVERT, TDB_CONVERT };
+       int flags[] = { TDB_INTERNAL, TDB_DEFAULT, TDB_NOMMAP,
+                       TDB_INTERNAL|TDB_CONVERT, TDB_CONVERT, 
+                       TDB_NOMMAP|TDB_CONVERT };
 
        hattr.base.next = &tap_log_attr;