tast-tests: do not test /home/root/<uid-hash> for file contexts

Shill is creating directories into it even it's not a bind-mount. The
created file is useless in actual world, and create flakiness for
testing.

This is a quick fix to comment out testing of /home/root/<uid-hash>
since the test should only care the situation when the user is logged in
and it is a bind-mount.

Before confining shill to prevent such file being created, it's better
to skip such files to prevent flakiness that blocks CQ.

BUG=b:130011394,chromium:950317
TEST=tast run

Change-Id: I67a27778cd6e5c77b0003b5bdb33b5af8e92ab5f
Reviewed-on: https://chromium-review.googlesource.com/1557293
Commit-Ready: Qijiang Fan <fqj@google.com>
Tested-by: Qijiang Fan <fqj@google.com>
Reviewed-by: Dan Erat <derat@chromium.org>
1 file changed
tree: d8c75cfaba695718bdd9922990d347d22477359e
  1. helpers/
  2. src/
  3. tools/
  4. .gitignore
  5. OWNERS
  6. PRESUBMIT.cfg
  7. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • 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