X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-record-expand.c;h=27d58ff36ab4d35cb955f5cec516728031052e68;hb=f5087965ebdb24618ca59854b7a819e21c9fdf78;hp=7e07b9345b78fe8d5670aaf6f7fd21f549363581;hpb=2088fa3cd72332f5517edeb9267e381fdf35db01;p=ccan diff --git a/ccan/tdb2/test/run-record-expand.c b/ccan/tdb2/test/run-record-expand.c index 7e07b934..27d58ff3 100644 --- a/ccan/tdb2/test/run-record-expand.c +++ b/ccan/tdb2/test/run-record-expand.c @@ -2,7 +2,9 @@ #include #include #include +#include #include +#include #include #include "logging.h" @@ -13,8 +15,9 @@ int main(int argc, char *argv[]) { unsigned int i; struct tdb_context *tdb; - 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 }; struct tdb_data key = { (unsigned char *)"key", 3 }; struct tdb_data data;