Add a test to send stdin to non-interactive `adb shell`.
This new test will hang on ToT devices that support shell_v2 until they
are rebuilt with the corresponding adb CL. A new feature could be added
instead to filter those devices out, but it doesn't seem worth it as no
devices have yet been released with shell_v2.
This CL also fixes a mistake I made earlier with device.linesep; this
is used to check device output, not separate device input. Using it
added unnecessary newline characters on Windows.
Bug: http://b/24565284
Change-Id: Ic123402975033d74688f56a36acac993af6815e6
http://r.android.com/173810 changed the shell feature name. This CL
updates the python scripts to re-enable shell protocol tests, and adds
an additional test for `adb shell -x`.
Change-Id: I961adf7abd1782ea98f3f82d8af11dcaa02f9570
The install escaping test fails if the device supports exit codes. This
fixes the test to ignore the exit code since we expect the install to
fail.
Change-Id: I37bb39552a6e9068ac088a25d831f45d81b28155
Adds python tests to check that -T (disable PTY) and -t (force PTY)
arguments work as expected for `adb shell`.
Bug: http://b/23825231
Change-Id: I5343fae35b2be8459a9b95125f66def46c26adf4
This really ought to be maintained as a separate project. Also adds a
setup.py for distribution.
Bug: http://b/22881740
Change-Id: I8e11e4154fac21d3196a533613822b236b2b73e6