Closed Bug 309412 Opened 19 years ago Closed 19 years ago

sequence of tests in all.sh is illogical and suboptimal

Categories

(NSS :: Test, defect, P2)

3.10
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nelson, Assigned: nelson)

Details

Attachments

(1 file)

NSS contains code at many levels, from lowest level crypto and database
functions, to higher level stuff, with SSL and S/MIME testing at the 
highest layer.  

It seems logical to test bottom up; that is, to determine that the crypto
algorithms work before testing SSL with them.  
It seems logical to test *basic* cert chain validation before testing that
with CRLs.  
It seems logical to test *basic* SSL first, and then test SSL with CRLs.  

Similarly, a failure of an early test of a low level feature should prevent 
the subsequent testing of higher level features that depend on that lower
level one, but should NOT prevent the subsequent testing of higher level
features that do NOT depend on that lower level one.  An example of where
this is not done right is in the ssl.sh script.  If the CRL setup fails,
then NONE of the SSL testing is done.  A CRL setup failure prevents the
basic SSL testing, which does NOT depend on CRLs at all.

I will shortly attach a patch to this bug that reorders the scripts in 
all.sh to be more bottom up, and that makes the dbtests script no longer
depend unnecessarily on ssl.sh running first.  It will also add stress
testing of SSL FULL handshakes.

This leaves the above cited SSL CRL testing issues to be resolved.
P2 for 3.11
Priority: -- → P2
Target Milestone: --- → 3.11
Julien, please review.
Attachment #196878 - Flags: review?(julien.pierre.bugs)
Attachment #196878 - Flags: review?(julien.pierre.bugs) → review+
Assignee: saul.edwards.bugs → nelson
Checked in on trunk.  
Checking in all.sh;             new revision: 1.20; previous revision: 1.19
Checking in dbtests/dbtests.sh; new revision: 1.12; previous revision: 1.11
Now watching Tinderbox.
Target Milestone: 3.11 → 3.12
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: