summaryrefslogtreecommitdiff
path: root/lib/tdb2/test/api-80-tdb_fd.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-80-tdb_fd.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-80-tdb_fd.c')
-rw-r--r--lib/tdb2/test/api-80-tdb_fd.c2
1 files changed, 1 insertions, 1 deletions
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;