summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslavomir.katuscak%sun.com <devnull@localhost>2008-04-04 07:39:05 +0000
committerslavomir.katuscak%sun.com <devnull@localhost>2008-04-04 07:39:05 +0000
commitf912314ef2c69da5c319c06b9036b5fbd778962c (patch)
tree181461da7edb4a971d3b73668fae802432018e80
parent9f6533d023bb80129fafdf3fcd0b6efc3f5afbf8 (diff)
downloadnss-hg-f912314ef2c69da5c319c06b9036b5fbd778962c.tar.gz
Bug 426245: Enabled ulimit -c. r=alexei
-rw-r--r--security/nss/tests/common/init.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/nss/tests/common/init.sh b/security/nss/tests/common/init.sh
index 17479ce99..9e0902d4e 100644
--- a/security/nss/tests/common/init.sh
+++ b/security/nss/tests/common/init.sh
@@ -223,7 +223,7 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then
MSG_ID=`expr ${MSG_ID} + 1`
echo ${MSG_ID} > ${MSG_ID_FILE}
html "<TR><TD>#${MSG_ID}: $* ${HTML_FAILED_CORE}"
- echo "${SCRIPTNAME}: #${MSG_ID}: $* - Core file is detected."
+ echo "${SCRIPTNAME}: #${MSG_ID}: $* - Core file is detected - FAILED"
return 1
fi
return 0
@@ -628,6 +628,10 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then
fi
#################################################
+ if [ "${OS_ARCH}" != "WINNT" ]; then
+ ulimit -c unlimited
+ fi
+
SCRIPTNAME=$0
INIT_SOURCED=TRUE #whatever one does - NEVER export this one please
fi