hopefully fixes HP 64-bit opt QA failures, where cmsutil fails first time it is executed from script

git-svn-id: svn://10.0.0.236/trunk@83487 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcgreer%netscape.com 2000-12-11 19:38:16 +00:00
parent 95e43bf5fa
commit 6ca119ede9

View File

@ -226,6 +226,8 @@ echo "<TABLE BORDER=1><TR><TH COLSPAN=3>S/MIME tests</TH></TR>" >> ${RESULTS}
echo "<TR><TH width=500>Test Case</TH><TH width=50>Result</TH></TR>" >> ${RESULTS}
cd ${SMIMEDIR}
cp ${CURDIR}/alice.txt ${SMIMEDIR}
# hopefully fixes HP problem where crashes first time cmsutil is run
cmsutil < alice.txt
# Test basic signed and enveloped messages from 1 --> 2
echo "cmsutil -S -N Alice -i alice.txt -d ${ALICEDIR} -p nss -o alice.sig"
cmsutil -S -N Alice -i alice.txt -d ${ALICEDIR} -p nss -o alice.sig
@ -271,7 +273,7 @@ fi
#certs-only
echo "cmsutil -O -r \"Alice,bob@bogus.com,dave@bogus.com\" -d ${ALICEDIR} > co.der"
cmsutil -O -r "Alice,bob@bogus.com,dave@bogus.com" -d ${ALICEDIR} > co.der
cmsutil -O -r "Alice,bob@bogus.com,dave@bogus.com" -d ${ALICEDIR} < alice.txt > co.der
if [ $? -ne 0 ]; then
CMSFAILED=${CMSFAILED-"Create Certs-Only Alice"}
fi