]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/test/run-check.c
tdb: put example hashes into header, so we notice incorrect hash_fn.
[ccan] / ccan / tdb / test / run-check.c
index 4a57eb6f88d109819e2d54b096d40b65cffaeb82..4b2dcc1884df09252a32e5122a8dd91070896127 100644 (file)
@@ -49,13 +49,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);