I don't know of a reason not to use these features for testing.
Signed-off-by: Ben Pfaff <[email protected]>
---
tests/atlocal.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 5360225..8d0f59d 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_
--
1.7.2.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev