summaryrefslogtreecommitdiff
path: root/source4/torture/local/dbspeed.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-1/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-10-15s4:torture/local/dbspeed.c - use LDB result constantMatthias Dieter Wallnöfer1-1/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 19:11:32 UTC 2010 on sn-devel-104
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-1/+1
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-1/+1
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
2010-04-11s4:dbspeed torture - improve also the TDB code partMatthias Dieter Wallnöfer1-10/+9
Always use the label "failed" on failures, always close the database context (child of "tmp_ctx") when deleting database file.
2010-04-11s4:dbspeed torture - remove unneeded newlines on "torture_result"Matthias Dieter Wallnöfer1-7/+7
According to Jelmer's post on the technical list.
2010-04-11s4:torture - "dbspeed" test - add newlines as we have them in the other ↵Matthias Dieter Wallnöfer1-2/+2
failure messages
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-2/+2
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-10/+17
Unify error handling.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-3/+4
Add more "talloc_free"s where needed or useful.
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-1/+1
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-5/+2
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-16Fix last few includes to use new tdb location.Jelmer Vernooij1-1/+1
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-1/+1
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-2/+4
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-1/+1
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+2
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-10/+10
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+2
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+2
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r21421: Fix a memleak. This made tdb look considerably worse than necessary.Volker Lendecke1-0/+2
Volker (This used to be commit 573ba38722e338fb4158dfda181308a1a736c5c0)
2007-10-10r21418: Return the ratio as wellSimo Sorce1-2/+8
(This used to be commit 56ed4499d69adf57a41632ba12cbfef383a35ab2)
2007-10-10r21211: fixed 3 places that assumed that torture_fail() didn't callAndrew Tridgell1-3/+6
return. Having a lowercase macro that returns from a function is probably a bad idea - it looks too much like a C function but doesn't behave like one. (This used to be commit e680656419f00fd8b4ddb996fd247bada0f0a51d)
2007-10-10r20823: Remove newlines in calls to torture_fail().Jelmer Vernooij1-5/+5
(This used to be commit 37c0cfe83bd9b9f799c880e3b5052a49631a113e)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-13/+7
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19536: Make output understandable (newlines)Simo Sorce1-19/+19
(This used to be commit 6960dd2075ed75c844c4a17e215991db2fb72c0d)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-2/+2
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19377: Simplify report functions.Jelmer Vernooij1-6/+6
(This used to be commit 0061f3c47e95f07461837c4051cf129b18961b56)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-1/+1
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-8/+10
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r19294: a little speed tester for ldb/tdbAndrew Tridgell1-0/+250
I wrote this to see if using a ldb for idmap store (the equivalent of winbindd_idmap.tdb) makes sense. It's a long lived database that administrators may wish to edit, so ldb makes sense, but at the moment ldb is too slow. This test will help us speed it up. (This used to be commit 10f8260455a55530f5701a136af8fa8b05ca8532)