]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-tdb1-oldhash.c
tdb2: merge tdb1_context into tdb_context.
[ccan] / ccan / tdb2 / test / run-tdb1-oldhash.c
index 32b4200d5456b0436bec4255dd02cee2c56f6aee..ea56dd3c8ce9c7a64e4bdd4744309a7ad1aeecf5 100644 (file)
@@ -6,7 +6,7 @@
 
 int main(int argc, char *argv[])
 {
-       struct tdb1_context *tdb;
+       struct tdb_context *tdb;
 
        plan_tests(8);
 
@@ -25,13 +25,13 @@ int main(int argc, char *argv[])
        tdb1_close(tdb);
 
        tdb = tdb1_open_ex("test/old-nohash-le.tdb1", 0, 0, O_RDWR, 0,
-                         &taplogctx, tdb1_jenkins_hash);
+                         &taplogctx, tdb1_incompatible_hash);
        ok1(tdb);
        ok1(tdb1_check(tdb, NULL, NULL) == 0);
        tdb1_close(tdb);
 
        tdb = tdb1_open_ex("test/old-nohash-be.tdb1", 0, 0, O_RDWR, 0,
-                         &taplogctx, tdb1_jenkins_hash);
+                         &taplogctx, tdb1_incompatible_hash);
        ok1(tdb);
        ok1(tdb1_check(tdb, NULL, NULL) == 0);
        tdb1_close(tdb);