add-on for patch to bug 367288: turn on OCSP testing + fix for tinderbox test failure on solaris and windows.

This commit is contained in:
alexei.volkov.bugs%sun.com 2007-03-05 18:53:41 +00:00
Родитель fc51f9f72b
Коммит 05208bd8cb
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -78,7 +78,7 @@
# #
######################################################################## ########################################################################
tests="cipher perf cert dbtests tools fips sdr crmf smime ssl" tests="cipher perf cert dbtests tools fips sdr crmf smime ssl ocsp"
TESTS=${TESTS:-$tests} TESTS=${TESTS:-$tests}
SCRIPTNAME=all.sh SCRIPTNAME=all.sh
CLEANUP="${SCRIPTNAME}" CLEANUP="${SCRIPTNAME}"

Просмотреть файл

@ -98,7 +98,7 @@ ocsp_get_cert_status() {
outFile=$dbDir/ocsptest.out.$$ outFile=$dbDir/ocsptest.out.$$
echo "ocspclnt -d $dbDir -S $cert $clntParam" echo "ocspclnt -d $dbDir -S $cert $clntParam"
ocspclnt -d $dbDir -S $cert $clntParam &> $outFile ocspclnt -d $dbDir -S $cert $clntParam >$outFile 2>&1
ret=$? ret=$?
echo "ocspclnt output:" echo "ocspclnt output:"
cat $outFile cat $outFile
@ -141,7 +141,7 @@ ocsp_iopr() {
for certName in $testValidCertNames; do for certName in $testValidCertNames; do
ocsp_get_cert_status $dbDir $certName "$responderUrl" "$testResponder" ocsp_get_cert_status $dbDir $certName "$responderUrl" "$testResponder"
html_msg $? 0 "Getting status of a valid cert ($certName)" \ html_msg $? 0 "Getting status of a valid cert ($certName)" \
"produced a returncode of $ret, expected is $0." "produced a returncode of $ret, expected is 0."
done done
for certName in $testRevokedCertNames; do for certName in $testRevokedCertNames; do