am 9a0cea92: Merge "Add a couple more adb shell regression tests."

* commit '9a0cea92c8b74114b70ac3339b2b611633f6a31a':
  Add a couple more adb shell regression tests.
This commit is contained in:
Elliott Hughes 2015-04-21 23:45:59 +00:00 committed by Android Git Automerger
commit 14000a3a35

View file

@ -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"