The validation script from #10681 is too pedantic, and does not handle well situations like: ``` cat <<EOF # or <<-EOF Whether the leading whitespace is stripped out or not by bash it should still be considered as valid. EOF ``` This reverts commit 4e65c1c319afffc325853b88c9aef0c42ec83482. Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 0252ad0adc37a34b88fa908ae74a13b940febdcb Component: engine
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!