From 9c2c819b530d2c017a33f1c0d5b2266aaf40889e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Jan 2005 01:15:30 +0000 Subject: r4953: - enable easy valgrind use in all our test scripts - when valgrind isn't set, then setup MALLOC_CHECK_ to abort on error (This used to be commit 21e629e80e5b320616135d3f3641801dc29594e6) --- source4/script/tests/test_posix.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/script/tests/test_posix.sh') diff --git a/source4/script/tests/test_posix.sh b/source4/script/tests/test_posix.sh index da7fceee43..57dae705cd 100755 --- a/source4/script/tests/test_posix.sh +++ b/source4/script/tests/test_posix.sh @@ -10,6 +10,10 @@ EOF exit 1; fi +if [ -z "$VALGRIND" ]; then + export MALLOC_CHECK_=2 +fi + unc="$1" username="$2" password="$3" -- cgit