From c93fcbd84016f5b86db553d5568c4b6ac35c0451 Mon Sep 17 00:00:00 2001 From: "bishakhabanerjee%netscape.com" Date: Wed, 25 Feb 2004 23:05:41 +0000 Subject: [PATCH] fix for Bugzilla bug 232481: removed a loop in smime.sh --- security/nss/tests/smime/smime.sh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/security/nss/tests/smime/smime.sh b/security/nss/tests/smime/smime.sh index cfa7ffc84f36..2632144c6338 100755 --- a/security/nss/tests/smime/smime.sh +++ b/security/nss/tests/smime/smime.sh @@ -163,18 +163,10 @@ smime_main() ret=$? html_msg $ret 0 "Create Multiple Recipients Enveloped Data Alice" "." if [ $ret != 0 ] ; then - i=0 - echo "cp -r ${R_ALICEDIR} ${R_ALICEDIR}.trouble" - cp -r ${R_ALICEDIR} ${R_ALICEDIR}.trouble - while [ $i -lt 100 ] ; do - echo "will attempt to list the certs in the db `expr 100 - $i` more times" - echo "certutil -L -d ${P_R_ALICEDIR}" - certutil -L -d ${P_R_ALICEDIR} - echo "certutil -L -d ${P_R_ALICEDIR} -n dave@bogus.com" - certutil -L -d ${P_R_ALICEDIR} -n dave@bogus.com - sleep 30 - i=`expr $i + 1` - done + echo "certutil -L -d ${P_R_ALICEDIR}" + certutil -L -d ${P_R_ALICEDIR} + echo "certutil -L -d ${P_R_ALICEDIR} -n dave@bogus.com" + certutil -L -d ${P_R_ALICEDIR} -n dave@bogus.com fi echo "$SCRIPTNAME: Testing multiple email addrs ------------------------------"