svn commit: samba r19498 - in branches/SAMBA_4_0/source/lib/talloc:
.
tridge at samba.org
tridge at samba.org
Thu Oct 26 03:26:53 GMT 2006
Author: tridge
Date: 2006-10-26 03:26:53 +0000 (Thu, 26 Oct 2006)
New Revision: 19498
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19498
Log:
the autofree test cannot be run as part of smbtorture
Modified:
branches/SAMBA_4_0/source/lib/talloc/testsuite.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/testsuite.c 2006-10-25 16:19:42 UTC (rev 19497)
+++ branches/SAMBA_4_0/source/lib/talloc/testsuite.c 2006-10-26 03:26:53 UTC (rev 19498)
@@ -1012,6 +1012,8 @@
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 @@
talloc_free(p);
printf("success: autofree\n");
+#endif
return true;
}
More information about the samba-cvs
mailing list