Closed Bug 1444960 Opened 6 years ago Closed 6 years ago

SSL tests skipped after PKCS#11 bypass removal

Categories

(NSS :: Test, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ueno, Unassigned)

Details

Attachments

(1 file)

After this change:
https://hg.mozilla.org/projects/nss/diff/838c777770a0/tests/all.sh

The possible combinations of SERVER_MODE/CLIENT_MODE in ssl.sh are:

SERVER_MODE="fips" and CLIENT_MODE="normal"

or

SERVER_MODE="normal" and CLIENT_MODE="fips"

On the other hand, some tests in ssl.sh are skipped when either SERVER_MODE or CLIENT_MODE is "fips":

$ grep -A1 '"$SERVER_MODE" = "fips"' tests/ssl/ssl.sh
    if [ "$SERVER_MODE" = "fips" -o "$CLIENT_MODE" = "fips" ] ; then
          echo "$SCRIPTNAME: skipping  $testname (non-FIPS only)"
--
    if [ "$SERVER_MODE" = "fips" -o "$CLIENT_MODE" = "fips" ] ; then
          echo "$SCRIPTNAME: skipping  $testname (non-FIPS only)"
--
    if [ "$SERVER_MODE" = "fips" -o "$CLIENT_MODE" = "fips" ] ; then
          echo "$SCRIPTNAME: skipping  $testname (non-FIPS only)"
--
    if [ "$SERVER_MODE" = "fips" -o "$CLIENT_MODE" = "fips" ] ; then
        echo "$SCRIPTNAME: skipping  $testname (non-FIPS only)"

all.sh should include the case: SERVER_MODE="normal" and CLIENT_MODE="normal", to cover those cases.

Downstream report:
https://bugzilla.redhat.com/show_bug.cgi?id=1541450
Attachment #8958144 - Flags: review?(kaie)
Comment on attachment 8958144 [details] [diff] [review]
tests-ssl-normal-normal.patch

r=kaie

normal_normal is even the default value, if the list test of tests is undefined.
  NSS_SSL_TESTS=${NSS_SSL_TESTS:-normal_normal}

It's surprising that it had been removed in the past.
Attachment #8958144 - Flags: review?(kaie) → review+
Landed as: https://hg.mozilla.org/projects/nss/rev/1053cc7b45a2
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.37
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: