Closed Bug 1563258 Opened 5 years ago Closed 5 years ago

fips.sh fails due to non-existent "resp" directories

Categories

(NSS :: Test, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ueno, Assigned: ueno)

Details

Attachments

(1 file)

After bug 1546477, tests/fips/fips.sh is failing because response files are not properly created:

fips.sh: #22: Init NSS with a corrupted library (dbtest -r) . - PASSED
Copying CAVS vectors
Copying CAVS scripts
cd /builddir/build/BUILD/nss-3.44.1/tests_results/security/localhost.1/fips/cavs/scripts
Running CAVS tests in /builddir/build/BUILD/nss-3.44.1/tests_results/security/localhost.1/fips/cavs/tests
********************Running aesgcm tests
gcmDecrypt128.req gcmDecrypt128.rsp
./aesgcm.sh: line 62: /builddir/build/BUILD/nss-3.44.1/tests_results/security/localhost.1/fips/cavs/tests/AES_GCM/resp/gcmDecrypt128.rsp: No such file or directory

The attached patch fixes the test scripts to ensure the directory where the response files are written.

Attachment #9075682 - Flags: review?(rrelyea)
Assignee: nobody → dueno
Status: NEW → ASSIGNED
Priority: -- → P1
Comment on attachment 9075682 [details] [diff] [review] nss-fips-cavs-tests.patch Review of attachment 9075682 [details] [diff] [review]: ----------------------------------------------------------------- I probably would have added the code once in the runtests.sh, but this is probably better.
Attachment #9075682 - Flags: review?(rrelyea) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: