gvisor/test
Ian Lewis da9e18f24d Add tests for $HOME
Adds two tests. One to make sure that $HOME is set when starting a container
via 'docker run' and one to make sure that $HOME is set for each container in a
multi-container sandbox.

Issue #701

PiperOrigin-RevId: 273395763
2019-10-07 15:55:39 -07:00
..
e2e Add tests for $HOME 2019-10-07 15:55:39 -07:00
image Impose order on test scripts. 2019-09-03 22:02:43 -07:00
root Add tests for $HOME 2019-10-07 15:55:39 -07:00
runtimes Add blacklist support to the runtime test runner. 2019-10-01 12:49:12 -07:00
syscalls Implement proper local broadcast behavior 2019-10-03 19:31:35 -07:00
util Honor X bit on extra anon pages in PT_LOAD segments 2019-10-01 11:30:36 -07:00
BUILD Bump Bazel to v0.28.0 2019-08-13 11:21:55 -07:00
README.md Impose order on test scripts. 2019-09-03 22:02:43 -07:00

README.md

Tests

The tests defined under this path are verifying functionality beyond what unit tests can cover, e.g. integration and end to end tests. Due to their nature, they may need extra setup in the test machine and extra configuration to run.

  • syscalls: system call tests use a local runner, and do not require additional configuration in the machine.
  • integration: defines integration tests that uses docker run to test functionality.
  • image: basic end to end test for popular images. These require the same setup as integration tests.
  • root: tests that require to be run as root.
  • util: utilities library to support the tests.

For the above noted cases, the relevant runtime must be installed via runsc install before running. This is handled automatically by the test scripts in the kokoro directory.