Closed Bug 1153994 Opened 9 years ago Closed 9 years ago

Syntax error in nss/tests/all.sh

Categories

(NSS :: Test, defect)

3.18.1
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: elio.maldonado.batiz, Assigned: elio.maldonado.batiz)

Details

Attachments

(1 file)

[emaldona@dhcp-16-197 tests]$ bash -b ./all.sh 
testdir is /home/emaldona/work4nss/upstream/asis/tests_results/security
init.sh init: Creating /home/emaldona/work4nss/upstream/asis/tests_results/security
********************************************
   Platform: Linux3.10_x86_glibc_PTH_DBG.OBJ
   Results: dhcp-16-197.1
********************************************

init.sh init: Testing PATH .:/home/emaldona/work4nss/upstream/asis/dist/Linux3.10_x86_glibc_PTH_DBG.OBJ/bin:/home/emaldona/work4nss/upstream/asis/dist/Linux3.10_x86_glibc_PTH_DBG.OBJ/lib:/bin:/usr/bin:/usr/lib64/qt-3.3/bin:/home/emaldona/perl5/bin:/usr/libexec/lightdm:/usr/local/bin:/usr/local/sbin:/usr/sbin:/home/emaldona/.cabal/bin:/usr/lib64/nss/unsupported-tools:/home/emaldona/.local/bin:/home/emaldona/bin against LIB /home/emaldona/work4nss/upstream/asis/dist/Linux3.10_x86_glibc_PTH_DBG.OBJ/lib:
./all.sh: line 305: [: =: unary operator expected
./all.sh: Testing Initialization ===============================
./all.sh: Exit: Checking for build - FAILED
./all.sh: #1: Checking for build - FAILED

The problem is with
if [ ${NSS_BUILD_SOFTOKEN_ONLY} = "1" ]; then
which needed should be
if [ "${NSS_BUILD_SOFTOKEN_ONLY}" = "1" ]; then
Assignee: nobody → emaldona
Attachment #8591826 - Flags: review?(kaie)
Attachment #8591826 - Flags: review?(kaie) → review+
Target Milestone: --- → 3.18.1
https://hg.mozilla.org/projects/nss/rev/82de44ead36f
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: 3.18.1 → 3.19
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: