selftest: use MALLOC_CHECK_=3 to give a diagnostic on failure
[kai/samba-autobuild/.git] / selftest / selftest.py
index 2da1ef8ff630ebf4be4c6140869b88361bae23c2..8a1999a44052e1ee95ec59fd2a41820c631948ff 100755 (executable)
@@ -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"
 # 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"
 
 # make all our python scripts unbuffered
 os.environ["PYTHONUNBUFFERED"] = "1"