summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-26 03:26:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:39 -0500
commit5438fc6c6288f092f58932b44fa25cc517972517 (patch)
tree36cb4bdcfe98d7e0e09679019f839865b910f11b /source4
parenta74de9886cf210b32a4f919f333e93e92ba4e95c (diff)
downloadsamba-5438fc6c6288f092f58932b44fa25cc517972517.tar.gz
samba-5438fc6c6288f092f58932b44fa25cc517972517.tar.bz2
samba-5438fc6c6288f092f58932b44fa25cc517972517.zip
r19498: the autofree test cannot be run as part of smbtorture
(This used to be commit ebf1d523da45fe19757bca45262f7514702ee108)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/talloc/testsuite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index 8f2a211b47..88ed638252 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -1012,6 +1012,8 @@ static bool test_talloc_ptrtype(void)
static bool test_autofree(void)
{
+#ifndef _SAMBA_BUILD_
+ /* autofree test would kill smbtorture */
void *p;
printf("test: autofree [\nTALLOC AUTOFREE CONTEXT\n]\n");
@@ -1022,6 +1024,7 @@ static bool test_autofree(void)
talloc_free(p);
printf("success: autofree\n");
+#endif
return true;
}