X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftdb2%2Ftest%2Frun-20-growhash.c;h=65cead03584dbf47c16cb89ba6d279fff1250339;hb=fbae37ba91ec230e34be564084099726cc3a9d47;hp=22a88c450438b06bf94e8f29d554ea5f1e71d595;hpb=007a7e4e8df8f43c61126599bcc582750cbf17fe;p=ccan diff --git a/ccan/tdb2/test/run-20-growhash.c b/ccan/tdb2/test/run-20-growhash.c index 22a88c45..65cead03 100644 --- a/ccan/tdb2/test/run-20-growhash.c +++ b/ccan/tdb2/test/run-20-growhash.c @@ -1,11 +1,4 @@ -#include -#include -#include -#include -#include -#include -#include -#include +#include "tdb2-source.h" #include #include "logging.h" @@ -63,7 +56,7 @@ int main(int argc, char *argv[]) for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { struct hash_info h; - tdb = tdb_open("run-04-basichash.tdb", flags[i], + tdb = tdb_open("run-20-growhash.tdb", flags[i], O_RDWR|O_CREAT|O_TRUNC, 0600, &hattr); ok1(tdb); if (!tdb)