]> git.draconx.ca Git - liblbx.git/blobdiff - tests/util/test-init.sh
liblbx: Correct EOF handling in lbx_file_read.
[liblbx.git] / tests / util / test-init.sh
index 2c72bf3a2f195b647340bbe8813e482f400c22cb..e88538d4439692d31bb3f858f790b6a7bcfdfa00 100644 (file)
@@ -172,9 +172,8 @@ dx_check_pam_md5() {
 : "${LBXTOOL=$builddir/lbxtool$EXEEXT}"
 : "${LBXIMG=$builddir/lbximg$EXEEXT}"
 
-# Set MALLOC_CHECK_ in the environment of the test programs which will enable
-# malloc instrumentation on glibc-based systems to hopefully catch some forms
-# of memory corruption.
-dx_test_wrapper="$builddir/libtool --mode=execute env MALLOC_CHECK_=3"
+dx_test_wrapper="$builddir/libtool --mode=execute${TESTWRAPPER:+ }$TESTWRAPPER"
 LBXTOOL="$dx_test_wrapper $LBXTOOL"
 LBXIMG="$dx_test_wrapper $LBXIMG"
+
+set -x