X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftest%2Frun-check.c;h=f96647b9d4e982732d8379beacb6c70668fdc78c;hp=4a57eb6f88d109819e2d54b096d40b65cffaeb82;hb=cc2d609dfca7192305ad477b8c2b52cfdc1aa9be;hpb=a1ace0cd114e0c588d6ce1b9e7386af11716e0bd diff --git a/ccan/tdb/test/run-check.c b/ccan/tdb/test/run-check.c index 4a57eb6f..f96647b9 100644 --- a/ccan/tdb/test/run-check.c +++ b/ccan/tdb/test/run-check.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -49,13 +50,13 @@ int main(int argc, char *argv[]) tdb_close(tdb); /* Big and little endian should work! */ - tdb = tdb_open_ex("test/tdb-le.tdb", 1024, 0, O_RDWR, 0, + tdb = tdb_open_ex("test/old-nohash-le.tdb", 1024, 0, O_RDWR, 0, &taplogctx, NULL); ok1(tdb); ok1(tdb_check(tdb, NULL, NULL) == 0); tdb_close(tdb); - tdb = tdb_open_ex("test/tdb-be.tdb", 1024, 0, O_RDWR, 0, + tdb = tdb_open_ex("test/old-nohash-be.tdb", 1024, 0, O_RDWR, 0, &taplogctx, NULL); ok1(tdb); ok1(tdb_check(tdb, NULL, NULL) == 0);