gvisor/test
Andrei Vagin 2fb34c8d5c test: don't use designated initializers
This change fixes compile errors:
pty.cc:1460:7: error: expected primary-expression before '.' token
...

PiperOrigin-RevId: 271033729
2019-09-24 19:05:12 -07:00
..
e2e Always set HOME env var with `runsc exec`. 2019-09-23 17:06:02 -07:00
image Impose order on test scripts. 2019-09-03 22:02:43 -07:00
root Bring back to life features lost in recent refactor 2019-09-16 08:17:00 -07:00
runtimes Run all runtime tests in a single container. 2019-09-23 17:43:42 -07:00
syscalls test: don't use designated initializers 2019-09-24 19:05:12 -07:00
util Job control: controlling TTYs and foreground process groups. 2019-09-19 11:36:47 -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.