summaryrefslogtreecommitdiff
path: root/lib/talloc/testsuite.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-17talloc: test talloc_steal out of a talloc_poolStefan Metzmacher1-0/+69
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 09:43:01 CEST 2011 on sn-devel-104
2011-05-17talloc: add memset() calls to test_pool()Stefan Metzmacher1-0/+17
This way we the pool based valgrind code. metze
2011-04-08talloc/testsuite: avoid memory leak reported by valgrindStefan Metzmacher1-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
2011-04-08talloc/testsuite: test more talloc_pool related thingsStefan Metzmacher1-0/+55
metze Signed-off-By: Andrew Tridgell <tridge@samba.org>
2011-01-05talloc: added a test for the use after free Rusty foundAndrew Tridgell1-0/+17
2011-01-03talloc: Fix warnings in test codeBrad Hards1-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
2010-04-20talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell1-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>
2010-03-29talloc: testsuite should use <talloc.h> not "talloc.h"Andrew Tridgell1-1/+1
if we are using the system talloc, the testsuite needs to use the system talloc.h
2009-09-20talloc: fixed talloc_disable_null_tracking()Andrew Tridgell1-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
2009-08-24talloc/testsuite: use talloc_set_log_fn() and log to stdoutStefan Metzmacher1-0/+6
metze
2009-08-24talloc/testsuite: report __location__ of testsuite failuresStefan Metzmacher1-6/+6
metze
2009-08-24talloc/testsuite: add infrastructure to test abortsStefan Metzmacher1-0/+20
metze
2009-08-24talloc/testsuite: reset the globals after each subtestStefan Metzmacher1-3/+29
metze
2009-07-01fixed the talloc testsuite for the recent changesAndrew Tridgell1-6/+10
2008-09-22lib/talloc: move main() out of testsuite.cStefan Metzmacher1-10/+0
metze
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+1152