X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-locktimeout.c;h=18b6e1a94881ed6d0f10fe126c0dedf433ea5dff;hp=d44713fcccd9336c73ba2c9c6c051f54a6d07a15;hb=818ed29730b030ce79855fc35c212b51adff3180;hpb=15cb319b3e5d07b70fb2fef7188c11c90d015de4 diff --git a/ccan/tdb2/test/run-locktimeout.c b/ccan/tdb2/test/run-locktimeout.c index d44713fc..18b6e1a9 100644 --- a/ccan/tdb2/test/run-locktimeout.c +++ b/ccan/tdb2/test/run-locktimeout.c @@ -1,11 +1,4 @@ -#include -#include -#include -#include -#include -#include -#include -#include +#include "tdb2-source.h" #include #include "logging.h" #include "external-agent.h" @@ -132,7 +125,10 @@ int main(int argc, char *argv[]) struct tdb_context *tdb; TDB_DATA key = tdb_mkdata("hello", 5); int flags[] = { TDB_DEFAULT, TDB_NOMMAP, - TDB_CONVERT, TDB_NOMMAP|TDB_CONVERT }; + TDB_CONVERT, TDB_NOMMAP|TDB_CONVERT, + TDB_VERSION1, TDB_NOMMAP|TDB_VERSION1, + TDB_CONVERT|TDB_VERSION1, + TDB_NOMMAP|TDB_CONVERT|TDB_VERSION1 }; struct agent *agent; plan_tests(sizeof(flags) / sizeof(flags[0]) * 15);