summaryrefslogtreecommitdiff
path: root/security/nss/tests/ssl
diff options
context:
space:
mode:
authorsonmi%netscape.com <devnull@localhost>2001-05-11 23:05:32 +0000
committersonmi%netscape.com <devnull@localhost>2001-05-11 23:05:32 +0000
commitb1c5f6fe559ccbaf4a6868a096cd32e3a544634c (patch)
tree6448a6a4f23d421381f3a69c9649c55c9b8d3798 /security/nss/tests/ssl
parenta50e964374049e612c7f87ffb53b23b371dcf51e (diff)
downloadnss-hg-b1c5f6fe559ccbaf4a6868a096cd32e3a544634c.tar.gz
yesterday's fix broke the backwardcompatibility tests because it used a new
option - put check for backwardcompatibility tests before
Diffstat (limited to 'security/nss/tests/ssl')
-rwxr-xr-xsecurity/nss/tests/ssl/ssl.sh22
1 files changed, 16 insertions, 6 deletions
diff --git a/security/nss/tests/ssl/ssl.sh b/security/nss/tests/ssl/ssl.sh
index f6746a41e..108cadd90 100755
--- a/security/nss/tests/ssl/ssl.sh
+++ b/security/nss/tests/ssl/ssl.sh
@@ -258,13 +258,23 @@ ssl_stress()
cparam=`echo $cparam | sed -e 's;_; ;g'`
start_selfserv
- echo "strsclnt -q -p ${PORT} -d . -w nss $cparam $verbose \\"
- echo " ${HOSTADDR}"
- echo "strsclnt started at `date`"
- strsclnt -q -p ${PORT} -d . -w nss $cparam $verbose ${HOSTADDR}
- ret=$?
+ #FIXME - this is done because NSS 3.2 stressclient did not have the
+ # -q option - needs to be removed when testing later releases
+ if [ -n "$BC_RELEASE" -a "$BC_RELEASE" = "3.2" -a \
+ -n "$TEST_LEVEL" -a "$TEST_LEVEL" = "2" ] ; then
+ echo "strsclnt -p ${PORT} -d . -w nss $cparam $verbose \\"
+ echo " ${HOSTADDR}"
+ echo "strsclnt started at `date`"
+ strsclnt -p ${PORT} -d . -w nss $cparam $verbose ${HOSTADDR}
+ ret=$?
+ else
+ echo "strsclnt -q -p ${PORT} -d . -w nss $cparam $verbose \\"
+ echo " ${HOSTADDR}"
+ echo "strsclnt started at `date`"
+ strsclnt -q -p ${PORT} -d . -w nss $cparam $verbose ${HOSTADDR}
+ ret=$?
+ fi
echo "strsclnt completed at `date`"
-
html_msg $ret $value "${testname}"
kill_selfserv
fi