am 59f01128: am 14000a3a: am 9a0cea92: Merge "Add a couple more adb shell regression tests."
* commit '59f01128982356ccbe4d1d302bb568a08d3e4795': Add a couple more adb shell regression tests.
This commit is contained in:
commit
987f7ade92
|
@ -275,6 +275,10 @@ class AdbBasic(unittest.TestCase):
|
|||
result = adb.shell("sh -c 'echo hello; echo world'").splitlines()
|
||||
self.assertEqual(["hello", "world"], result)
|
||||
|
||||
# http://b/15479704
|
||||
self.assertEqual('t', adb.shell("'true && echo t'").strip())
|
||||
self.assertEqual('t', adb.shell("sh -c 'true && echo t'").strip())
|
||||
|
||||
|
||||
class AdbFile(unittest.TestCase):
|
||||
SCRATCH_DIR = "/data/local/tmp"
|
||||
|
|
Loading…
Reference in New Issue