Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59f01128 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

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

* commit '14000a3a':
  Add a couple more adb shell regression tests.
parents 97147ef2 14000a3a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"