diff options
-rw-r--r-- | lib/tdb2/test/api-21-parse_record.c | 2 | ||||
-rw-r--r-- | lib/tdb2/test/api-80-tdb_fd.c | 2 | ||||
-rw-r--r-- | lib/tdb2/test/api-81-seqnum.c | 2 | ||||
-rw-r--r-- | lib/tdb2/test/api-firstkey-nextkey.c | 2 | ||||
-rw-r--r-- | lib/tdb2/test/run-12-check.c | 2 | ||||
-rw-r--r-- | lib/tdb2/test/run-20-growhash.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/lib/tdb2/test/api-21-parse_record.c b/lib/tdb2/test/api-21-parse_record.c index 4a9cf05c53..def4f456ff 100644 --- a/lib/tdb2/test/api-21-parse_record.c +++ b/lib/tdb2/test/api-21-parse_record.c @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) plan_tests(sizeof(flags) / sizeof(flags[0]) * 2 + 1); for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { - tdb = tdb_open("run-14-exists.tdb", flags[i], + tdb = tdb_open("api-21-parse_record.tdb", flags[i], O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr); if (ok1(tdb)) ok1(test_records(tdb)); diff --git a/lib/tdb2/test/api-80-tdb_fd.c b/lib/tdb2/test/api-80-tdb_fd.c index b321f59755..0088f9b74d 100644 --- a/lib/tdb2/test/api-80-tdb_fd.c +++ b/lib/tdb2/test/api-80-tdb_fd.c @@ -20,7 +20,7 @@ int main(int argc, char *argv[]) plan_tests(sizeof(flags) / sizeof(flags[0]) * 3); for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { - tdb = tdb_open("run-new_database.tdb", flags[i], + tdb = tdb_open("api-80-tdb_fd.tdb", flags[i], O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr); if (!ok1(tdb)) continue; diff --git a/lib/tdb2/test/api-81-seqnum.c b/lib/tdb2/test/api-81-seqnum.c index c41b9ce3dd..c1eb75170b 100644 --- a/lib/tdb2/test/api-81-seqnum.c +++ b/lib/tdb2/test/api-81-seqnum.c @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) plan_tests(sizeof(flags) / sizeof(flags[0]) * 15 + 8 * 13); for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { - tdb = tdb_open("run-new_database.tdb", flags[i]|TDB_SEQNUM, + tdb = tdb_open("api-81-seqnum.tdb", flags[i]|TDB_SEQNUM, O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr); if (!ok1(tdb)) continue; diff --git a/lib/tdb2/test/api-firstkey-nextkey.c b/lib/tdb2/test/api-firstkey-nextkey.c index 0c0951416f..e0374d8680 100644 --- a/lib/tdb2/test/api-firstkey-nextkey.c +++ b/lib/tdb2/test/api-firstkey-nextkey.c @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) plan_tests(sizeof(flags) / sizeof(flags[0]) * (NUM_RECORDS*6 + (NUM_RECORDS-1)*3 + 22) + 1); for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { - tdb = tdb_open("run-traverse.tdb", flags[i], + tdb = tdb_open("api-firstkey-nextkey.tdb", flags[i], O_RDWR|O_CREAT|O_TRUNC, 0600, flags[i] & TDB_VERSION1 ? NULL : &seed_attr); ok1(tdb); diff --git a/lib/tdb2/test/run-12-check.c b/lib/tdb2/test/run-12-check.c index f55b942cc5..06abe422ab 100644 --- a/lib/tdb2/test/run-12-check.c +++ b/lib/tdb2/test/run-12-check.c @@ -38,7 +38,7 @@ int main(int argc, char *argv[]) failtest_suppress = true; plan_tests(sizeof(flags) / sizeof(flags[0]) * 3 + 1); for (i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) { - tdb = tdb_open("run-10-simple-store.tdb", flags[i], + tdb = tdb_open("run-12-check.tdb", flags[i], O_RDWR|O_CREAT|O_TRUNC, 0600, &tap_log_attr); ok1(tdb); ok1(tdb_store(tdb, key, data, TDB_INSERT) == 0); diff --git a/lib/tdb2/test/run-20-growhash.c b/lib/tdb2/test/run-20-growhash.c index 890bcd2781..65cead0358 100644 --- a/lib/tdb2/test/run-20-growhash.c +++ b/lib/tdb2/test/run-20-growhash.c @@ -56,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) |