summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-10-01 19:59:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-10-01 19:59:06 (GMT)
commit70dac5f44d60a3f2de68c17157c21e663fc75616 (patch)
tree0ea424bb2bd0fe9d58e9dce0b7a81a0e52f9b704 /t
parent5ec11ab39d11aecd731044955a7a4f7e925cdba6 (diff)
parentee1431bfc565c5031e66408bc70c42be87a626aa (diff)
downloadgit-70dac5f44d60a3f2de68c17157c21e663fc75616.zip
git-70dac5f44d60a3f2de68c17157c21e663fc75616.tar.gz
git-70dac5f44d60a3f2de68c17157c21e663fc75616.tar.bz2
Merge branch 'ep/malloc-check-perturb'
Fixes a brown-paper bag bug. * ep/malloc-check-perturb: MALLOC_CHECK: enable it, unless disabled explicitly
Diffstat (limited to 't')
-rw-r--r--t/perf/perf-lib.sh2
-rw-r--r--t/test-lib.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh
index 1d0bb9d..a816fbc 100644
--- a/t/perf/perf-lib.sh
+++ b/t/perf/perf-lib.sh
@@ -42,7 +42,7 @@ else
fi
TEST_NO_CREATE_REPO=t
-TEST_NO_MALLOC_=t
+TEST_NO_MALLOC_CHECK=t
. ../test-lib.sh
diff --git a/t/test-lib.sh b/t/test-lib.sh
index bfc2238..514282c 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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