The default bug view has changed. See this FAQ.

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

NEW
Unassigned

Status

Testing
New Frameworks
6 years ago
5 years ago

People

(Reporter: jmaher, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

6 years ago
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?
(Reporter)

Comment 2

5 years ago
:kats, just test it.  From looking at the work done in bug 767449, this should resolve most if not all of this current bug.
You need to log in before you can comment on or make changes to this bug.