diff options
author | sonja.mirtitsch%sun.com <devnull@localhost> | 2002-01-31 01:01:47 +0000 |
---|---|---|
committer | sonja.mirtitsch%sun.com <devnull@localhost> | 2002-01-31 01:01:47 +0000 |
commit | f4abb28aee24f5113bd43fa4f657697ef53f0100 (patch) | |
tree | ede79483b7d9b3e8e426e414db9e7612b6d8dea9 | |
parent | e8bce6e226ecfc18b797ab2319582ee7df410643 (diff) | |
download | nss-hg-f4abb28aee24f5113bd43fa4f657697ef53f0100.tar.gz |
put the sleep 30 back into the linux ssl test to give the selfserv time
to free the socket...
-rw-r--r-- | security/nss/tests/common/init.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/nss/tests/common/init.sh b/security/nss/tests/common/init.sh index 5f7331e1b..3fe050fd0 100644 --- a/security/nss/tests/common/init.sh +++ b/security/nss/tests/common/init.sh @@ -300,6 +300,12 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then tee ${LOGFILE} KILL="kill" + if [ "${OS_ARCH}" = "Linux" ]; then +#on linux the selfserv needs up to 30 seconds to fully die and free +#the socket + SLEEP="sleep 30" # taking the chance and trying on the tinderboxes + fi + if [ `uname -s` = "SunOS" ]; then PS="/usr/5bin/ps" else @@ -384,7 +390,7 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then export PATH LD_LIBRARY_PATH SHLIB_PATH LIBPATH export DOMSUF HOSTADDR - export KILL PS + export KILL SLEEP PS export MOZILLA_ROOT SECURITY_ROOT DIST TESTDIR OBJDIR HOSTDIR QADIR export LOGFILE SCRIPTNAME |