If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED FIXED in Bugzilla 2.16

Status

()

Bugzilla
Testing Suite
RESOLVED FIXED
16 years ago
5 years ago

People

(Reporter: David D. Kilzer (ddk), Assigned: David D. Kilzer (ddk))

Tracking

2.15
Bugzilla 2.16

Details

Attachments

(1 attachment)

512 bytes, patch
Andreas Franke (gone)
: review+
Andreas Franke (gone)
: review+
Details | Diff | Splinter Review
(Assignee)

Description

16 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

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

Comment 1

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

Quotes "$f" variable and changes '==' to '='.

Comment 2

16 years ago
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: 16 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.