Closed Bug 1268882 Opened 8 years ago Closed 8 years ago

unportable test operator in run-all-loop-tests.sh

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
mozilla49
Iteration:
49.2 - May 23
Tracking Status
firefox49 --- fixed

People

(Reporter: wiz, Assigned: wiz)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160428084422

Steps to reproduce:

The file browser/extensions/loop/run-all-loop-tests.sh
contains:

if [ "$1" == "--help" ]; then

However, '==' as comparison operator is only supported by bash (not even GNU coreutils). '=' is the standard comparison operator for test(1).
Component: Untriaged → Client
Product: Firefox → Hello (Loop)
Version: 46 Branch → unspecified
Attachment #8747062 - Attachment is patch: true
Attachment #8747062 - Attachment mime type: application/x-shellscript → text/plain
Attachment #8747062 - Flags: review?(standard8)
Comment on attachment 8747062 [details] [diff] [review]
Patch against trunk fixing the problem.

Thanks for the patch. Looks good r=Standard8. I'll get this landed for you.

For future reference, its easier for reviewers to download & apply if you can generate patches in the git style, there's some more information on that here:

https://developer.mozilla.org/en-US/docs/Mercurial/Using_Mercurial#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Attachment #8747062 - Flags: review?(standard8) → review+
Assignee: nobody → wiz
Status: UNCONFIRMED → NEW
Iteration: --- → 49.2 - May 23
Ever confirmed: true
https://hg.mozilla.org/mozilla-central/rev/5c35538356c0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: