moby/integration
Arnaud Porterie 67e3ddb75f Forbid client piping to tty enabled container
Forbid `docker run -t` with a redirected stdin (such as `echo test |
docker run -ti busybox cat`). Forbid `docker exec -t` with a redirected
stdin. Forbid `docker attach` with a redirect stdin toward a tty enabled
container.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2014-12-09 14:30:49 -08:00
..
fixtures/https Add authenticated TLS support for API 2014-03-09 00:06:44 +01:00
api_test.go allow to use x-registry-auth header with enabled cors 2014-11-01 19:22:28 +03:00
commands_test.go Forbid client piping to tty enabled container 2014-12-09 14:30:49 -08:00
container_test.go API: Provide the HostConfig during "run". 2014-09-25 15:24:38 -07:00
graph_test.go Remove jsonData argument from image.StoreImage 2014-11-03 17:39:21 -08:00
https_test.go Add libtrust key identity management 2014-09-26 15:52:08 -07:00
MAINTAINERS Add Cristian to integration/MAINTAINERS 2014-08-13 07:50:40 +00:00
README.md Freeze ./integration and explain where to contribute new tests 2014-04-26 18:55:39 -07:00
runtime_test.go Remove unused sysinfo parameter to runconfig.Parse 2014-11-14 18:20:54 -08:00
server_test.go Remove unused sysinfo parameter to runconfig.Parse 2014-11-14 18:20:54 -08:00
utils_test.go Update libtrust version 2014-11-20 17:39:54 +00:00
z_final_test.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00

Legacy integration tests

./integration contains Docker's legacy integration tests. It is DEPRECATED and will eventually be removed.

If you are a CONTRIBUTOR and want to add a test:

  • Consider mocking out side effects and contributing a unit test in the subsystem you're modifying. For example, the remote API has unit tests in ./api/server/server_unit_tests.go. The events subsystem has unit tests in ./events/events_test.go. And so on.

  • For end-to-end integration tests, please contribute to ./integration-cli.

If you are a MAINTAINER

Please don't allow patches adding new tests to ./integration.

If you are LOOKING FOR A WAY TO HELP

Please consider porting tests away from ./integration and into either unit tests or CLI tests.

Any help will be greatly appreciated!