summaryrefslogtreecommitdiff
path: root/testit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testit.sh')
-rwxr-xr-xtestit.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/testit.sh b/testit.sh
index 19b4c0c..c2af1a5 100755
--- a/testit.sh
+++ b/testit.sh
@@ -3,9 +3,11 @@
# malloc voo-doo
###############################################
# see http://lists.gnupg.org/pipermail/gcrypt-devel/2010-June/001605.html
-export MALLOC_CHECK_=3
+MALLOC_CHECK_=3
+export MALLOC_CHECK_
# http://udrepper.livejournal.com/11429.html
-export MALLOC_PERTURB_=`expr \( $RANDOM % 255 \) + 1 `
+MALLOC_PERTURB_=`expr \( $RANDOM % 255 \) + 1 `
+export MALLOC_PERTURB_
#
if [ -z "${MALLOC_PERTURB_}" ] # XXX: some shell don't have RANDOM ?
then