diff options
author | bishakhabanerjee%netscape.com <devnull@localhost> | 2003-03-03 21:06:29 +0000 |
---|---|---|
committer | bishakhabanerjee%netscape.com <devnull@localhost> | 2003-03-03 21:06:29 +0000 |
commit | 7a17578721d5c3d1d3074f625839c472bad6b4b3 (patch) | |
tree | cea693db10441418d242f7afb4cf9d377d328d25 | |
parent | 238e26ccd161cdf46b7595178596587097042546 (diff) | |
download | nss-hg-7a17578721d5c3d1d3074f625839c472bad6b4b3.tar.gz |
Bug 193055: the "cat ${file} | while read ...do ...done" construct does not work under MKS Korn shell on Windows XP. Replaced it by the equivalent construct :while read ... do ... done < ${file}"NSS_3_7_2_RTM
-rwxr-xr-x | security/nss/tests/ssl/ssl.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/nss/tests/ssl/ssl.sh b/security/nss/tests/ssl/ssl.sh index 3f0d1b240..1d1cfebd9 100755 --- a/security/nss/tests/ssl/ssl.sh +++ b/security/nss/tests/ssl/ssl.sh @@ -200,7 +200,7 @@ ssl_cov() p="" - cat ${SSLCOV} | while read tls param testname + while read tls param testname do p=`echo "$testname" | sed -e "s/ .*//"` #sonmi, only run extended test on SSL3 and TLS @@ -226,7 +226,7 @@ ssl_cov() rm ${TMP}/$HOST.tmp.$$ 2>/dev/null html_msg $ret 0 "${testname}" fi - done + done < ${SSLCOV} kill_selfserv html "</TABLE><BR>" @@ -239,7 +239,7 @@ ssl_auth() { html_head "SSL Client Authentication $NORM_EXT" - cat ${SSLAUTH} | while read value sparam cparam testname + while read value sparam cparam testname do if [ $value != "#" ]; then cparam=`echo $cparam | sed -e 's;_; ;g' -e "s/TestUser/$USER_NICKNAME/g" ` @@ -259,7 +259,7 @@ ssl_auth() "produced a returncode of $ret, expected is $value" kill_selfserv fi - done + done < ${SSLAUTH} html "</TABLE><BR>" } @@ -272,7 +272,7 @@ ssl_stress() { html_head "SSL Stress Test $NORM_EXT" - cat ${SSLSTRESS} | while read value sparam cparam testname + while read value sparam cparam testname do p=`echo "$testname" | sed -e "s/Stress //" -e "s/ .*//"` #sonmi, only run extended test on SSL3 and TLS if [ "$p" = "SSL2" -a "$NORM_EXT" = "Extended test" ] ; then @@ -299,7 +299,7 @@ ssl_stress() fi kill_selfserv fi - done + done < ${SSLSTRESS} html "</TABLE><BR>" } |