DockerCLI/cli
Sebastiaan van Stijn fd9eedce3c
Add "host-gateway" to tests for extra_hosts / --add-host
67ebcd6dcf added an exception for
the "host-gateway" magic value to the validation rules, but didn't
add thise value to any of the tests.

This patch adds the magic value to tests, to verify the validation
is skipped for this magic value.

Note that validation on the client side is "optional" and mostly
done to provide a more user-friendly error message for regular
values (IP-addresses).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f88ae74135)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-15 09:53:37 +02:00
..
command Add "host-gateway" to tests for extra_hosts / --add-host 2020-04-15 09:53:37 +02:00
compose Add "host-gateway" to tests for extra_hosts / --add-host 2020-04-15 09:53:37 +02:00
config Fix lint issue 2020-01-17 13:37:04 +01:00
connhelper commandconn: set SysProcAttr.Setsid 2019-03-06 13:22:54 +09:00
context cli: remove unnecessary newlines (whitespace) 2020-01-06 13:16:57 +01:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags Introduce docker context store 2019-01-04 17:06:51 +01:00
manifest cli/manifest: Using the variable on range scope `testcase` in function literal (scopelint) 2020-01-06 13:17:01 +01:00
registry/client cli: remove unnecessary newlines (whitespace) 2020-01-06 13:16:57 +01:00
streams Extract streams helpers from command package to their own package to remove a cyclic dependency from command to internal/containerizedengine 2019-01-28 14:36:00 +01:00
trust Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go cli-plugins: Reinstate deprecated `-h` short form of `--help`. 2019-03-28 17:18:20 +00:00
cobra_test.go Refactor plugins' vendor location on --help 2019-02-21 17:54:11 +01:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam) 2020-01-06 13:16:40 +01:00
required_test.go Update tests to use gotest.tools 👼 2018-06-08 18:24:26 +02:00