History log of /external/autotest/client/cros/faft/utils/shell_wrapper.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10eeaf290a5a7d8088e18b7bbbea8c369df8e4b4 24-May-2016 Danny Chan <dchan@google.com> Set TMPDIR in adb shell, otherwise mosys will exit and return nothing.

- TMPDIR is set when you enter adb shell, for some reason
adb shell <cmd> does not set TMPDIR.

BUG=None
TEST=run with pixel-C using servo v3.

Change-Id: Iba7909979d91f135427749ae10bd177ce259397e
Reviewed-on: https://chromium-review.googlesource.com/347042
Commit-Ready: danny chan <dchan@chromium.org>
Tested-by: danny chan <dchan@chromium.org>
Reviewed-by: Tom Tam <waihong@google.com>
/external/autotest/client/cros/faft/utils/shell_wrapper.py
02da40da2f81fda288668ba663c5dee4db672ebb 03-Sep-2015 Shelley Chen <shchen@chromium.org> FAFT: Non-blocking shell command

Certain shell commands, like "fastboot oem lock",
will not return until detecting an event like the
power button being pushed. In order for this to be
done in a test, we need to return immediately so that
the servo can emulate the power button push.

BUG=chromium:527484
BRANCH=none
TEST=Tested out with FAFT test to make sure that call
did not wait for return before moving on to next command.

Change-Id: I0c188650fcd4b729e11179563a59d6946f3d70eb
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/297420
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/faft/utils/shell_wrapper.py
f557e68a7fec128a489609c4ff5178da89bd0975 28-Aug-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: ADB gets the root access at the first call

Some commands FAFT calls requires the root access. Grant it at
the first call.

BUG=chromium:516398,chromium:527484
TEST=Ran a FAFT test on Ryu.

Change-Id: I4bfee45775737f1cc1b9918539349dee873e4f66
Reviewed-on: https://chromium-review.googlesource.com/295895
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
/external/autotest/client/cros/faft/utils/shell_wrapper.py
3dbc70ac3c58465b4c35b5d09ab10d0e28abde7f 20-Aug-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Implement basic methods of ModeSwitcher for Ryu

This ModeSwitcher does some basic methods, like waiting DUT online/offline.
More changes will be added to support the rest.

BUG=chromium:527484
TEST=Ran some FAFT tests on Ryu.

Change-Id: I085ae9ed9c8fec5b773e3f9c6d6506bc008de5ba
Reviewed-on: https://chromium-review.googlesource.com/294774
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
/external/autotest/client/cros/faft/utils/shell_wrapper.py
a0265e39f0133d5e7699a4a675891cf71074aa95 05-Aug-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Implement AdbShell which executes commands via adb

And also fix or work-around the Android related stuffs. An empty file
.android_faft_tester should be created in /mnt/stateful_partition on
the host of DUT such that FAFT test knows it is an Android tester.

BUG=chromium:516398
TEST=None

Change-Id: Idd93a55408a05c15cfc689f8627b178aae80924f
Reviewed-on: https://chromium-review.googlesource.com/290735
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Shelley Chen <shchen@chromium.org>
/external/autotest/client/cros/faft/utils/shell_wrapper.py
38aa548ceb0f1fdb081deb9389b4c8e99aee485b 31-Jul-2015 Tom Wai-Hong Tam <waihong@chromium.org> FAFT: Wrap the shell command interface

This change wraps the shell command interface and uses it to
access DUT instead of call the Python library directly.

It helps easily to switch to other shells, like adb-shell.

BUG=chromium:516398
TEST=Ran FAFT suites to verify still working on Jerry.

Change-Id: If345dc669ee5bd8ce858cbce1e6a8978d90f18c2
Reviewed-on: https://chromium-review.googlesource.com/290350
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: danny chan <dchan@chromium.org>
/external/autotest/client/cros/faft/utils/shell_wrapper.py