[ovs-dev] [PATCH 2/2] tests: Enable glibc malloc debugging features in testsuite.
Ben Pfaff
blp at nicira.com
Mon Oct 1 18:03:58 UTC 2012
I don't know of a reason not to use these features for testing.
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
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
More information about the dev
mailing list