X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fntdb%2Ftest%2Fapi-20-alloc-attr.c;h=868764fa6623c8445543f3bde76181d7343df254;hb=73c02ec46e9c7e175a61f25522c191cf7e04feb6;hp=3df5003af78ac242b220ed80a431f1191a9537dd;hpb=401bed521f80ca1145aafcddc1c532f05de5d313;p=ccan diff --git a/ccan/ntdb/test/api-20-alloc-attr.c b/ccan/ntdb/test/api-20-alloc-attr.c index 3df5003a..868764fa 100644 --- a/ccan/ntdb/test/api-20-alloc-attr.c +++ b/ccan/ntdb/test/api-20-alloc-attr.c @@ -1,11 +1,12 @@ #include "config.h" -#include "ntdb.h" -#include "private.h" +#include "../ntdb.h" +#include "../private.h" #include "tap-interface.h" #include #include #include "logging.h" +#include "helpapi-external-agent.h" static const struct ntdb_context *curr_ntdb; static const struct ntdb_file *curr_file; @@ -80,7 +81,7 @@ int main(int argc, char *argv[]) for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { curr_ntdb = NULL; curr_file = NULL; - ntdb = ntdb_open("run-12-store.ntdb", flags[i]|MAYBE_NOSYNC, + ntdb = ntdb_open("run-20-alloc-attr.ntdb", flags[i]|MAYBE_NOSYNC, O_RDWR|O_CREAT|O_TRUNC, 0600, &alloc_attr); ok1(ntdb); if (!ntdb)