зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
fc51f9f72b
Коммит
05208bd8cb
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче