summaryrefslogtreecommitdiffstats
path: root/lib/talloc/testsuite.c
Commit message (Collapse)AuthorAgeFilesLines
* talloc: check block count aftter references testAndrew Tridgell2011-08-041-0/+1
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* talloc: added test suite for talloc_free_children()Andrew Tridgell2011-07-291-0/+44
| | | | | | | this tests the fix from Simo Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jul 29 11:30:13 CEST 2011 on sn-devel-104
* talloc: test talloc_steal out of a talloc_poolStefan Metzmacher2011-05-171-0/+69
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 09:43:01 CEST 2011 on sn-devel-104
* talloc: add memset() calls to test_pool()Stefan Metzmacher2011-05-171-0/+17
| | | | | | This way we the pool based valgrind code. metze
* talloc/testsuite: avoid memory leak reported by valgrindStefan Metzmacher2011-04-081-1/+1
| | | | | | | | | metze Signed-off-By: Andrew Tridgell <tridge@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 8 10:15:41 CEST 2011 on sn-devel-104
* talloc/testsuite: test more talloc_pool related thingsStefan Metzmacher2011-04-081-0/+55
| | | | | | metze Signed-off-By: Andrew Tridgell <tridge@samba.org>
* talloc: added a test for the use after free Rusty foundAndrew Tridgell2011-01-051-0/+17
|
* talloc: Fix warnings in test codeBrad Hards2011-01-031-1/+4
| | | | | | | | | | This should not change any behaviour - the intent is just to reduce the "nuisance" warnings. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 11:12:39 CET 2011 on sn-devel-104
* talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell2010-04-201-0/+33
| | | | | | | | when a ptr has a single reference and a NULL parent, then talloc_free(ptr) is not ambiguous, as the caller could not have done a talloc_free(NULL) to free the memory Pair-Programmed-With: Rusty Russell <rusty@samba.org>
* talloc: testsuite should use <talloc.h> not "talloc.h"Andrew Tridgell2010-03-291-1/+1
| | | | | if we are using the system talloc, the testsuite needs to use the system talloc.h
* talloc: fixed talloc_disable_null_tracking()Andrew Tridgell2009-09-201-1/+2
| | | | | | | | | | | | When we disable null tracking, we need to move any existing objects that are under the null_context to be parented by the true NULL context. We also need a new talloc_enable_null_tracking_no_autofree() function, as the talloc testsuite cannot cope with the moving of the autofree context under the null_context as it wants to check exact counts of objects under the null_context, and smbtorture has a large number of objects in the autofree_context from .init functions
* talloc/testsuite: use talloc_set_log_fn() and log to stdoutStefan Metzmacher2009-08-241-0/+6
| | | | metze
* talloc/testsuite: report __location__ of testsuite failuresStefan Metzmacher2009-08-241-6/+6
| | | | metze
* talloc/testsuite: add infrastructure to test abortsStefan Metzmacher2009-08-241-0/+20
| | | | metze
* talloc/testsuite: reset the globals after each subtestStefan Metzmacher2009-08-241-3/+29
| | | | metze
* fixed the talloc testsuite for the recent changesAndrew Tridgell2009-07-011-6/+10
|
* lib/talloc: move main() out of testsuite.cStefan Metzmacher2008-09-221-10/+0
| | | | metze
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-171-0/+1152