From 05208bd8cb80c1ba9ed213a0abe1f81c603a462a Mon Sep 17 00:00:00 2001 From: "alexei.volkov.bugs%sun.com" Date: Mon, 5 Mar 2007 18:53:41 +0000 Subject: [PATCH] add-on for patch to bug 367288: turn on OCSP testing + fix for tinderbox test failure on solaris and windows. --- security/nss/tests/all.sh | 2 +- security/nss/tests/iopr/ocsp_iopr.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/security/nss/tests/all.sh b/security/nss/tests/all.sh index 67aa561bd82..8d9b36b1667 100755 --- a/security/nss/tests/all.sh +++ b/security/nss/tests/all.sh @@ -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} SCRIPTNAME=all.sh CLEANUP="${SCRIPTNAME}" diff --git a/security/nss/tests/iopr/ocsp_iopr.sh b/security/nss/tests/iopr/ocsp_iopr.sh index e31c5a4f9ce..2aadb06e404 100644 --- a/security/nss/tests/iopr/ocsp_iopr.sh +++ b/security/nss/tests/iopr/ocsp_iopr.sh @@ -98,7 +98,7 @@ ocsp_get_cert_status() { outFile=$dbDir/ocsptest.out.$$ echo "ocspclnt -d $dbDir -S $cert $clntParam" - ocspclnt -d $dbDir -S $cert $clntParam &> $outFile + ocspclnt -d $dbDir -S $cert $clntParam >$outFile 2>&1 ret=$? echo "ocspclnt output:" cat $outFile @@ -141,7 +141,7 @@ ocsp_iopr() { for certName in $testValidCertNames; do ocsp_get_cert_status $dbDir $certName "$responderUrl" "$testResponder" 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 for certName in $testRevokedCertNames; do