* commit '14000a3a35d42815a95dce63b40f71e5a6cb9128': Add a couple more adb shell regression tests.
This commit is contained in:
commit
59f0112898
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue