]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-tdb1-oldhash.c
tdb2: approximate INCOMPATIBLE_HASH flag with tdb1_incompatible_hash()
[ccan] / ccan / tdb2 / test / run-tdb1-oldhash.c
index 32b4200d5456b0436bec4255dd02cee2c56f6aee..4f74dbb95b41ac19bc46340b722b3e6c638a227d 100644 (file)
@@ -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);