diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-15 16:45:09 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-15 17:39:24 +0200 |
commit | 037374fe7260c104771d1b6d31c36a98385c2365 (patch) | |
tree | e4ce4d91eaf02c87e625fcd1dbb9eb092c815783 /test/libapt | |
parent | ca6ab6e37c101f21066d1522c6e9c202856842ca (diff) |
set MALLOC_CHECK_ and MALLOC_PERTURB_ for testcases
In bugreport deb:719629 Paul Wise mentions both to enable some malloc
checks and as more testing can't hurt we enable both for all testcases.
Git-Dch: Ignore
Diffstat (limited to 'test/libapt')
-rwxr-xr-x | test/libapt/run-tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libapt/run-tests b/test/libapt/run-tests index 764663020..a056f31f9 100755 --- a/test/libapt/run-tests +++ b/test/libapt/run-tests @@ -111,8 +111,8 @@ do fi echo -n "Testing with ${NAME} " - if LD_LIBRARY_PATH=${LDPATH} ${testapp} ${tmppath} ; then - echo "$TESTOKAY" + if MALLOC_PERTURB_=21 MALLOC_CHECK_=2 LD_LIBRARY_PATH=${LDPATH} ${testapp} ${tmppath} ; then + echo "$TESTOKAY" else echo "$TESTFAIL" EXIT_CODE=1 |