git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eee3723
)
torture: Avoid passing lp_ctx to tdb_wrap_open in test_tdb_speed
author
Volker Lendecke
<vl@samba.org>
Wed, 26 Mar 2014 14:14:45 +0000
(14:14 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 31 Mar 2014 20:52:13 +0000
(22:52 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/local/dbspeed.c
patch
|
blob
|
history
diff --git
a/source4/torture/local/dbspeed.c
b/source4/torture/local/dbspeed.c
index 51ea8eaeef40a19e10e2a263706ef426f39c2628..27d1e0ce15ee41c7330c3361125ee66c659e1ea0 100644
(file)
--- a/
source4/torture/local/dbspeed.c
+++ b/
source4/torture/local/dbspeed.c
@@
-64,8
+64,9
@@
static bool test_tdb_speed(struct torture_context *torture, const void *_data)
torture_comment(torture, "Testing tdb speed for sidmap\n");
- tdbw = tdb_wrap_open(tmp_ctx, "test.tdb",
- 10000, 0, O_RDWR|O_CREAT|O_TRUNC, 0600, torture->lp_ctx);
+ tdbw = tdb_wrap_open_(tmp_ctx, "test.tdb", 10000,
+ lpcfg_tdb_flags(torture->lp_ctx, 0),
+ O_RDWR|O_CREAT|O_TRUNC, 0600);
if (!tdbw) {
torture_result(torture, TORTURE_FAIL, "Failed to open test.tdb");
goto failed;