From 2db1f87ec28c9e3f34e56202c9b5389cf84974c2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 1 Oct 2012 13:37:57 -0700 Subject: [PATCH] tests: Enable glibc malloc debugging features in testsuite. I don't know of a reason not to use these features for testing. Signed-off-by: Ben Pfaff Acked-by: Kyle Mestery --- tests/atlocal.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/atlocal.in b/tests/atlocal.in index 53602258..8d0f59d6 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -32,3 +32,9 @@ if test $HAVE_PYTHON = yes; then export PYTHONPATH fi fi + +# Enable glibc malloc debugging features. +MALLOC_CHECK_=2 +MALLOC_PERTURB_=165 +export MALLOC_CHECK_ +export MALLOC_PERTURB_ -- 2.30.2