Closed Bug 813266 Opened 12 years ago Closed 6 years ago

dmADB.shell() sometimes returns None (error code not found)

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ahal, Assigned: gbrown)

Details

From bug 811916 we noticed a code path that happens when the shell function returns 'None':
http://mxr.mozilla.org/mozilla-central/source/testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py#153

It looks like this can only happen if there was no return code in the output. If this is an expected possibility we need to change the return value to 0 (or change shellCheckOutput to accept None). If it isn't expected we should figure out why this is happening and fix it.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.