Closed Bug 683895 Opened 15 years ago Closed 8 years ago

devicemanagerADB assumes /mnt/sdcard even if there is no sdcard available

Categories

(Testing :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 767449

People

(Reporter: jmaher, Assigned: gbrown)

Details

(Whiteboard: [android][tegra][mobile_unittests])

we made a poor assumption in devicemanagerADB while looking for the deviceroot: http://mxr.mozilla.org/mozilla-central/source/build/mobile/devicemanagerADB.py#368 If we do not have a sdcard on the device (tegra in my case), a directory /mnt/sdcard still exists. We need a better check to see if /mnt/sdcard is a directory on a valid sdcard with rw permissions before assuming we are using it. Currently the workaround is to create a /data/local/tests on the device before running tests.
:jmaher, is there anything left to do here beyond what was done in bug 767449?
:kats, just test it. From looking at the work done in bug 767449, this should resolve most if not all of this current bug.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Component: New Frameworks → General
You need to log in before you can comment on or make changes to this bug.