From 5438fc6c6288f092f58932b44fa25cc517972517 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 26 Oct 2006 03:26:53 +0000 Subject: r19498: the autofree test cannot be run as part of smbtorture (This used to be commit ebf1d523da45fe19757bca45262f7514702ee108) --- source4/lib/talloc/testsuite.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/lib/talloc') 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; } -- cgit