diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-26 03:39:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:50 -0500 |
commit | de85d70a4aa782bc9a693e72d36897a0b22e521a (patch) | |
tree | 7c503ee46abfdf18a955d94fda94f5b5d8d9f3b5 /source4/script/tests/test_functions.sh | |
parent | 3214f2e2129eaa693658185c4ebebf1760a039ac (diff) | |
download | samba-de85d70a4aa782bc9a693e72d36897a0b22e521a.tar.gz samba-de85d70a4aa782bc9a693e72d36897a0b22e521a.tar.bz2 samba-de85d70a4aa782bc9a693e72d36897a0b22e521a.zip |
r7919: use more portable shell syntax for MALLOC_CHECK_
(This used to be commit 694882ffa62ae88e43e78e8e496720575630e523)
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-rw-r--r-- | source4/script/tests/test_functions.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh index d435f2b8a8..2ddf1edb8f 100644 --- a/source4/script/tests/test_functions.sh +++ b/source4/script/tests/test_functions.sh @@ -164,3 +164,9 @@ teststatus() { fi exit $failed } + +if [ -z "$VALGRIND" ]; then + MALLOC_CHECK_=2 + export MALLOC_CHECK_ +fi + |