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

Commit 6c1b42cc authored by Josh Gao's avatar Josh Gao
Browse files

adb: fix test_device.FileOperationsTest.test_push_empty

Test: python test_device.py
Change-Id: Iaa5006e39c3d61374de11c05bcaffb4f30b7512e
parent b3610734
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -762,9 +762,10 @@ class FileOperationsTest(DeviceTest):
            os.chmod(host_dir, 0o700)

            # Create an empty directory.
            os.mkdir(os.path.join(host_dir, 'empty'))
            empty_dir_path = os.path.join(host_dir, 'empty')
            os.mkdir(empty_dir_path);

            self.device.push(host_dir, self.DEVICE_TEMP_DIR)
            self.device.push(empty_dir_path, self.DEVICE_TEMP_DIR)

            test_empty_cmd = ['[', '-d',
                              os.path.join(self.DEVICE_TEMP_DIR, 'empty')]