MALLOC_CHECK: various clean-ups
commit1b3185fc2be3cc92a834fcfcb7110d1072184700
authorJunio C Hamano <gitster@pobox.com>
Sat, 15 Sep 2012 03:38:24 +0000 (14 20:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2012 05:00:27 +0000 (17 22:00 -0700)
tree98a90bc1a144e41ce727b9270a7e19de0acd0887
parenta731fa916e5ce000eeb23f3c858c9218c78633d6
MALLOC_CHECK: various clean-ups

The most important in this change is to avoid affecting anything
when test-lib is used from perf-lib.  It also limits the effect of
the MALLOC_CHECK only to what is run inside the actual test, and
uses a fixed MALLOC_PERTURB_ in order to avoid hurting repeatability
of the tests.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/perf-lib.sh
t/test-lib.sh