selftest: use MALLOC_CHECK_=3 to give a diagnostic on failure
authorGregor Beck <gbeck@sernet.de>
Wed, 20 Mar 2013 09:58:22 +0000 (10:58 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 11 Dec 2013 16:14:50 +0000 (17:14 +0100)
commit2846a7d0accf87542b42b08077b7848871261b79
tree45ce3273003d574c3af966ae737a2b55b46dea86
parentc140fe0e146f9d6d6fc563d6ad181ae2513e9a91
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>
selftest/selftest.pl
selftest/selftest.py