Merge branch 'ep/malloc-check-perturb'
[gitweb.git] / 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