summaryrefslogtreecommitdiffstats
path: root/test/unit/safety_check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/safety_check.sh')
-rw-r--r--test/unit/safety_check.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/safety_check.sh b/test/unit/safety_check.sh
new file mode 100644
index 0000000..8fcc7d8
--- /dev/null
+++ b/test/unit/safety_check.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${enable_prof}" = "x1" ] ; then
+ export MALLOC_CONF="prof:true,lg_prof_sample:0"
+fi