arc: Avoid file descriptor leak.

This is a possible cause of crbug.com/876191 because there is a
open file descriptor of logcat.txt when it is copied over to
the host.

BUG=chromium:876191
TEST=tast run DUT arc.Boot

Change-Id: I6c20ab104509fd4af2580eb8cc51e9aa138198f7
Reviewed-on: https://chromium-review.googlesource.com/1184805
Commit-Ready: Shuhei Takahashi <[email protected]>
Tested-by: Shuhei Takahashi <[email protected]>
Reviewed-by: Dan Erat <[email protected]>
1 file changed
tree: 4a1b3cdac2ba6bca27cac3d185877ef1df4bb979
  1. src/
  2. .gitignore
  3. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc