summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/api-firstkey-nextkey.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:13:27 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 08:13:27 +0930
commit5e3731a28101c0ee3435746e4b7340013477ad64 (patch)
tree5cdb358c34f62bce7ff6201d0327c1d83717fd25 /lib/tdb2/test/api-firstkey-nextkey.c
parent67164070d5bb6697ee139b20121656670b579cdf (diff)
downloadsamba-5e3731a28101c0ee3435746e4b7340013477ad64.tar.gz
samba-5e3731a28101c0ee3435746e4b7340013477ad64.tar.bz2
samba-5e3731a28101c0ee3435746e4b7340013477ad64.zip
tdb2: make tests work in parallel.
Lazy cut & paste of tdb names causes failure when we run in parallel. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 380372e733416c2b348d5307f536d0a0807e95df)
Diffstat (limited to 'lib/tdb2/test/api-firstkey-nextkey.c')
-rw-r--r--lib/tdb2/test/api-firstkey-nextkey.c2
1 files changed, 1 insertions, 1 deletions
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);