summaryrefslogtreecommitdiff
path: root/selftest/selftest.py
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2013-03-20 10:58:22 +0100
committerMichael Adam <obnox@samba.org>2013-12-11 17:14:50 +0100
commit2846a7d0accf87542b42b08077b7848871261b79 (patch)
tree45ce3273003d574c3af966ae737a2b55b46dea86 /selftest/selftest.py
parentc140fe0e146f9d6d6fc563d6ad181ae2513e9a91 (diff)
downloadsamba-2846a7d0accf87542b42b08077b7848871261b79.tar.gz
selftest: use MALLOC_CHECK_=3 to give a diagnostic on failure
With MALLOC_CHECK_ set to 2 in case of a failure abort() is called silently which hopefully creates a core dump. MALLOC_CHECK_=3 additionally gives an error message on stderr in case. Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'selftest/selftest.py')
-rwxr-xr-xselftest/selftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/selftest.py b/selftest/selftest.py
index 2da1ef8ff63..8a1999a4405 100755
--- a/selftest/selftest.py
+++ b/selftest/selftest.py
@@ -153,7 +153,7 @@ tests = args
# quick hack to disable rpc validation when using valgrind - it is way too slow
if not os.environ.get("VALGRIND"):
os.environ["VALIDATE"] = "validate"
- os.environ["MALLOC_CHECK_"] = "2"
+ os.environ["MALLOC_CHECK_"] = "3"
# make all our python scripts unbuffered
os.environ["PYTHONUNBUFFERED"] = "1"