summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslavomir.katuscak%sun.com <devnull@localhost>2008-02-06 13:54:20 +0000
committerslavomir.katuscak%sun.com <devnull@localhost>2008-02-06 13:54:20 +0000
commit446e193da4803c5fc14a877f0d8f4b391e36b736 (patch)
tree6b6e3b629decde30858a7fe3b24238075e9f8f6b
parent91e71366a18dfd7a959e53244e5aa442147ad09b (diff)
downloadnss-hg-446e193da4803c5fc14a877f0d8f4b391e36b736.tar.gz
Bug 415469: Ulimit exception on Windows. r=nelson
-rwxr-xr-xsecurity/nss/tests/ssl/ssl.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nss/tests/ssl/ssl.sh b/security/nss/tests/ssl/ssl.sh
index ebdc9a877..0f457e25f 100755
--- a/security/nss/tests/ssl/ssl.sh
+++ b/security/nss/tests/ssl/ssl.sh
@@ -829,7 +829,10 @@ CLONG="-c ABCDEF:C001:C002:C003:C004:C005:C006:C007:C008:C009:C00A:C00B:C00C:C00
if [ -z "$DO_REM_ST" -a -z "$DO_DIST_ST" ] ; then
- ulimit -n 1000 # make sure we have enough file descriptors
+ if [ "${OS_ARCH}" != "WINNT" ]; then
+ ulimit -n 1000 # make sure we have enough file descriptors
+ fi
+
ssl_init
# save the directories as setup by init.sh