gecko-dev/testing/mozbase/mozdevice
Nick Alexander 21955fe91b Bug 1581006 - Allow mozdevice to find ls on unrooted devices. r=bc
Bug 1572563 wanted to be extra sure that `ls` could be found. To do
that it tries to run various `ls` variants in a loop until one such
variant exits with exit code 0. However, `ls` can be present and
functional and still exit with code 1. For many unrooted devices, bare
`ls` will exit with code 1 because there are files and directories for
which the shell user doesn't have read permission.

This works around by trying to list only the file that the loop is
trying to execute.

Differential Revision: https://phabricator.services.mozilla.com/D45770

--HG--
extra : moz-landing-system : lando
2019-09-13 01:13:49 +00:00
..
mozdevice Bug 1581006 - Allow mozdevice to find ls on unrooted devices. r=bc 2019-09-13 01:13:49 +00:00
tests Bug 1428708 - [mozdevice] Add support for Python 3 r=ahal 2019-02-02 20:39:14 +00:00
setup.cfg Bug 1428708 - [mozdevice] Bump version number and prepare for Python 3 release r=davehunt 2019-02-04 19:19:56 +00:00
setup.py Bug 1572563 - [mozdevice 3.0.5] - work around intermittent test path failures on emulators, r=jmaher. 2019-08-12 20:06:19 +00:00