Set MALLOC_CHECK_ and MALLOC_PERTURB_ to catch memory problems
authorRob Crittenden <rcritten@redhat.com>
Wed, 4 Mar 2015 22:36:29 +0000 (17:36 -0500)
committerRob Crittenden <rcritten@redhat.com>
Mon, 16 Mar 2015 17:47:41 +0000 (13:47 -0400)
commite79330365b0da99c57d22e18df5df0760712ad7f
tree11405e9ff04631a4bbf2b2bc3ec6bdb3c39b7229
parent0ed1c2f8e804400a0b9e94e191f03ec135338727
Set MALLOC_CHECK_ and MALLOC_PERTURB_ to catch memory problems

MALLOC_CHECK_ set to 3 should abort if a memory problem is found.

MALLOC_PERTURB_ should catch any usage of freed memory.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Nathan Kinder <nkinder@redhat.com>
tests/helpers/common.py