Perl syntax in runtests.sh causes error message when passing in arguments

RESOLVED FIXED in Bugzilla 2.16

Status

()

RESOLVED FIXED
17 years ago
6 years ago

People

(Reporter: ddkilzer, Assigned: ddkilzer)

Tracking

2.15
Bugzilla 2.16

Details

Attachments

(1 attachment)

(Assignee)

Description

17 years ago
When '--verbose' is passed into runtests.sh, the following error
message occurs:

./runtests.sh: [: ==: binary operator expected

String equality is '=' under bash.  Patch to follow shortly.
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
Keywords: patch, review
Target Milestone: --- → Bugzilla 2.16
(Assignee)

Comment 1

17 years ago
Created attachment 78218 [details] [diff] [review]
Patch v.1

Quotes "$f" variable and changes '==' to '='.
Comment on attachment 78218 [details] [diff] [review]
Patch v.1

Plausible, and works. 2 x r=afranke.

Thanks, ddk, now I can get some useful output from this script :-)
Attachment #78218 - Flags: review+
Checking in runtests.sh;
/cvsroot/mozilla/webtools/bugzilla/runtests.sh,v  <--  runtests.sh
new revision: 1.5; previous revision: 1.4
done
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.