tests: Enable glibc malloc debugging features in testsuite.
authorBen Pfaff <blp@nicira.com>
Mon, 1 Oct 2012 20:37:57 +0000 (13:37 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 1 Oct 2012 20:37:57 +0000 (13:37 -0700)
I don't know of a reason not to use these features for testing.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Kyle Mestery <kmestery@cisco.com>
tests/atlocal.in

index 53602258cd9d3e33af9f52582aa4e4d763059c47..8d0f59d6780829e840df9536370883ef9e2bc682 100644 (file)
@@ -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_