From: Peter O'Gorman <pogma@thewrittenword.com>
Date: Mon, 10 May 2010 15:23:08 +0000 (+0200)
Subject: init.sh: fix a typo
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0f1414d0d1f5a904940fac105b8838f132b946b;p=pspp

init.sh: fix a typo

* tests/init.sh: Correct typo in MALLOC_PERTURB_ initialization.
---

diff --git a/ChangeLog b/ChangeLog
index 5510f6852b..8c762cfefe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-10  Peter O'Gorman  <pogma@thewrittenword.com>
+
+	init.sh: fix a typo
+	* tests/init.sh: Correct typo in MALLOC_PERTURB_ initialization.
+
 2010-05-10  Jim Meyering  <meyering@redhat.com>
 
 	maint.mk: avoid using a temporary file in the always-defined-macros check
diff --git a/tests/init.sh b/tests/init.sh
index 1c0b4b4f11..05a983a45b 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -98,7 +98,7 @@ test -n "$EXEEXT" && shopt -s expand_aliases
 # This is cheap and useful for exposing code that depends on the fact that
 # malloc-related functions often return memory that is mostly zeroed.
 # If you have the time and cycles, use valgrind to do an even better job.
-${MALLOC_PERTURB_=87}
+: ${MALLOC_PERTURB_=87}
 export MALLOC_PERTURB_
 
 # We use a trap below for cleanup.  This requires us to go through