Bug 297738 - Comment for echo + reordered tests.
authorslavomir.katuscak%sun.com
Wed, 04 Jul 2007 10:11:49 +0000
changeset 7909 8e30d87d65171cfbe3e9d889d88c32a820f2c758
parent 7908 738b9c26bd124f29e8891a73e81e0c53481def45
child 7912 7352334f9400298895977c8a9ec45ca7db3e1268
push idunknown
push userunknown
push dateunknown
bugs297738
Bug 297738 - Comment for echo + reordered tests.
security/nss/tests/cert/cert.sh
--- a/security/nss/tests/cert/cert.sh
+++ b/security/nss/tests/cert/cert.sh
@@ -182,16 +182,17 @@ crlu()
 }
 
 modu()
 {
     echo "$SCRIPTNAME: ${CU_ACTION} --------------------------"
 
     MODUTIL="modutil"
     echo "$MODUTIL $*"
+    # echo is used to press Enter expected by modutil
     echo | $MODUTIL $*
     RET=$?
     if [ "$RET" -ne 0 ]; then
         MODFAILED=$RET
         html_failed "<TR><TD>${CU_ACTION} ($RET) " 
         cert_log "ERROR: ${CU_ACTION} failed $RET"
     else
         html_passed "<TR><TD>${CU_ACTION}"
@@ -1379,15 +1380,15 @@ cert_eccurves
 cert_extensions
 
 if [ -z "$NSS_TEST_DISABLE_CRL" ] ; then
     cert_crl_ssl
 else
     echo "$SCRIPTNAME: Skipping CRL Tests"
 fi
 
-cert_iopr_setup
-
 if [ -n "$DO_DIST_ST" -a "$DO_DIST_ST" = "TRUE" ] ; then
     cert_stresscerts 
 fi
 
+cert_iopr_setup
+
 cert_cleanup