Closed
Bug 487685
Opened 15 years ago
Closed 15 years ago
cipher.sh does not run properly standalone
Categories
(NSS :: Test, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 467553
People
(Reporter: julien.pierre, Assigned: slavomir.katuscak+mozilla)
Details
If I run ./cipher.sh on my Solaris 10 x86 machine, it finishes with this error : cipher.sh: #36: SHA512 Hash - PASSED ./cipher.sh: syntax error at line 60: `LINES_CNT=$' unexpected If I run "bash cipher.sh", it finishes properly : cipher.sh: #36: SHA512 Hash - PASSED SUMMARY: ======== NSS variables: -------------- HOST=monstre DOMSUF=red.iplanet.com BUILD_OPT= USE_64= NSS_CYCLES="" NSS_TESTS="" NSS_SSL_TESTS="" NSS_SSL_RUN="" NSS_AIA_PATH= NSS_AIA_HTTP= NSS_AIA_OCSP= Tests summary: -------------- Passed: 36 Failed: 0 Failed with core: 0 Unknown status: 0 That's because the script depends on the use of bash, a POSIX shell, but isn't compatible with the Solaris shell. I think the first line of this script should be changed to #!/bin/bash We also may want to do the same for all other test scripts.
Comment 1•15 years ago
|
||
I believe this is a duplicate of bug 467553. This particular problem is one of several problems covered by that bug.
Reporter | ||
Comment 2•15 years ago
|
||
You are right. I wish this trivial problem had been fixed by now.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•