diff options
author | Josh Gao <jmgao@google.com> | 2018-07-09 18:00:48 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2018-07-10 13:20:40 -0700 |
commit | 0cee7ccc594f376eec75ebfb983cd266d7ccdfb7 (patch) | |
tree | e242c793e7231f1d064ce76ed2f38d516924900d /adb/test_device.py | |
parent | de1d06ef0cba49b52625c29e17f456b00940646a (diff) | |
download | system_core-0cee7ccc594f376eec75ebfb983cd266d7ccdfb7.tar.gz system_core-0cee7ccc594f376eec75ebfb983cd266d7ccdfb7.tar.bz2 system_core-0cee7ccc594f376eec75ebfb983cd266d7ccdfb7.zip |
adb: work around adbd push bug.
We shipped (well, are about to ship) an adbd that spuriously fails to
create directories upon push. Work around this in the adb client by
running a mkdir on all of the directories we would have otherwise
created.
On devices where we perform the workaround, this coincidentally fixes
a historic bug where we failed to push empty directories.
Bug: http://b/25566053
Bug: http://b/110953234
Test: python test_device.py
Change-Id: I690ec356c206fed4e5ab2c681c5570c8b231e26b
Diffstat (limited to 'adb/test_device.py')
-rw-r--r-- | adb/test_device.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/adb/test_device.py b/adb/test_device.py index 5aa268411..4abe7a7d6 100644 --- a/adb/test_device.py +++ b/adb/test_device.py @@ -750,7 +750,6 @@ class FileOperationsTest(DeviceTest): if host_dir is not None: shutil.rmtree(host_dir) - @unittest.expectedFailure # b/25566053 def test_push_empty(self): """Push a directory containing an empty directory to the device.""" self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR]) |