Merge branch 'ep/malloc-check-perturb'
authorJunio C Hamano <gitster@pobox.com>
Mon, 1 Oct 2012 19:59:06 +0000 (12:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Oct 2012 19:59:06 +0000 (12:59 -0700)
Fixes a brown-paper bag bug.

* ep/malloc-check-perturb:
MALLOC_CHECK: enable it, unless disabled explicitly

t/perf/perf-lib.sh
t/test-lib.sh
index 1d0bb9d0173af5908b46285dbd574642fb20a22e..a816fbcb7618bb8cdbf1f74a4fd2295923c02ea3 100644 (file)
@@ -42,7 +42,7 @@ else
 fi
 
 TEST_NO_CREATE_REPO=t
-TEST_NO_MALLOC_=t
+TEST_NO_MALLOC_CHECK=t
 
 . ../test-lib.sh
 
index bfc223815cff486866caac3118052c7ac432ca76..514282cbdfde7e661dcf17c0e1388c3c03a8d287 100644 (file)
@@ -105,7 +105,7 @@ export EDITOR
 # Add libc MALLOC and MALLOC_PERTURB test
 # only if we are not executing the test with valgrind
 if expr " $GIT_TEST_OPTS " : ".* --valgrind " >/dev/null ||
-   test -n "TEST_NO_MALLOC_"
+   test -n "$TEST_NO_MALLOC_CHECK"
 then
        setup_malloc_check () {
                : nothing