1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration-cli
Daniel Nephin d7022f2b46 Create a unified RunCommand function with Assert()
Remove some run functions and replace them with the unified run command.
Remove DockerCmdWithStdoutStderr
Remove many duplicate runCommand functions.
Also add dockerCmdWithResult()
Allow Result.Assert() to ignore the error message if an exit status is expected.
Fix race in DockerSuite.TestDockerInspectMultipleNetwork
Fix flaky test DockerSuite.TestRunInteractiveWithRestartPolicy

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-08-23 15:11:46 -04:00
..
fixtures Trusted push now adds the tag to every first level delegation role for which we have keys 2016-03-21 10:56:09 -07:00
benchmark_test.go Move layer mount refcounts to mountedLayer 2016-03-23 14:42:52 -07:00
check_test.go Merge pull request #25143 from cpuguy83/update_go-check 2016-08-15 22:09:20 -07:00
daemon.go Make test suites dump daemon stack on test timeout 2016-08-10 10:26:30 -04:00
daemon_swarm.go Fix retry logic for out of sequence errors 2016-08-16 18:57:01 -07:00
daemon_swarm_hack.go Remove unnecessary CmdWithArgs 2016-07-28 20:14:14 -04:00
daemon_unix.go Make test suites dump daemon stack on test timeout 2016-08-10 10:26:30 -04:00
daemon_windows.go Make test suites dump daemon stack on test timeout 2016-08-10 10:26:30 -04:00
docker_api_attach_test.go Swarm integration tests 2016-06-13 22:16:18 -07:00
docker_api_auth_test.go Return remote API errors as JSON 2016-06-07 18:45:27 -07:00
docker_api_build_test.go Merge pull request #23322 from tkopczynski/20784-builder-dockerfile-symlink 2016-06-15 10:52:49 +02:00
docker_api_containers_test.go Wait container's removal via Events API 2016-08-08 22:46:53 +08:00
docker_api_create_test.go Return remote API errors as JSON 2016-06-07 18:45:27 -07:00
docker_api_events_test.go Windows CI: Integrity check for busybox top 2016-02-24 11:00:47 -08:00
docker_api_exec_resize_test.go
docker_api_exec_test.go Return remote API errors as JSON 2016-06-07 18:45:27 -07:00
docker_api_images_test.go
docker_api_info_test.go Remove execution driver 2016-07-11 14:52:27 +08:00
docker_api_inspect_test.go Docker api inspect Assert HostConfig 2016-08-04 23:01:16 +08:00
docker_api_inspect_unix_test.go
docker_api_logs_test.go Return remote API errors as JSON 2016-06-07 18:45:27 -07:00
docker_api_network_test.go Update client code with api changes 2016-04-15 12:48:01 +02:00
docker_api_resize_test.go Return remote API errors as JSON 2016-06-07 18:45:27 -07:00
docker_api_service_update_test.go Change docker service update semantics 2016-06-17 17:09:40 -07:00
docker_api_stats_test.go Change number of pings to 1 2016-08-03 13:30:34 -07:00
docker_api_stats_unix_test.go TestApiStatsContainerGetMemoryLimit: Add cgroup memory test 2016-05-04 20:46:41 +02:00
docker_api_swarm_test.go Merge pull request #25341 from tonistiigi/fix-pending-tests 2016-08-03 16:12:43 +02:00
docker_api_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_api_update_unix_test.go
docker_api_version_test.go
docker_api_volumes_test.go integration-cli: remove not necessary -d again 2016-02-28 13:48:15 +01:00
docker_cli_attach_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_attach_unix_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_authz_unix_test.go authz: cleanups 2016-06-12 17:23:19 +02:00
docker_cli_build_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_build_unix_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_by_digest_test.go Ignore 'not a swarm error' when inspecting a task. 2016-08-03 12:22:07 -04:00
docker_cli_commit_test.go Remove -run flag from commit command. 2016-08-19 13:14:03 +02:00
docker_cli_config_test.go Support TLS remote test daemon 2016-02-25 14:12:17 -05:00
docker_cli_cp_from_container_test.go
docker_cli_cp_test.go fix typos 2016-06-02 17:17:22 +08:00
docker_cli_cp_to_container_test.go
docker_cli_cp_to_container_unix_test.go
docker_cli_cp_utils.go
docker_cli_create_test.go Allow unset --entrypoint in docker run or docker create 2016-08-05 16:35:20 -07:00
docker_cli_daemon_experimental_test.go Fix deadlock on plugin shutdown. 2016-08-11 19:36:32 -07:00
docker_cli_daemon_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_diff_test.go Do not create /dev/fuse by default 2016-08-12 12:33:42 +01:00
docker_cli_events_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_events_unix_test.go Add live-restore state to daemon reload event 2016-07-28 17:10:40 -07:00
docker_cli_exec_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_exec_unix_test.go Revert hack in TestExecTTY 2016-03-08 10:54:18 +08:00
docker_cli_experimental_test.go
docker_cli_export_import_test.go
docker_cli_external_graphdriver_unix_test.go Ignore 'not a swarm error' when inspecting a task. 2016-08-03 12:22:07 -04:00
docker_cli_external_volume_driver_unix_test.go DockerExternalVolumeSuite: add daemon to test 2016-06-28 13:52:48 -04:00
docker_cli_health_test.go Ignore 'not a swarm error' when inspecting a task. 2016-08-03 12:22:07 -04:00
docker_cli_help_test.go Migrate rm command to cobra 2016-06-07 22:19:16 +08:00
docker_cli_history_test.go fix typos 2016-06-02 17:17:22 +08:00
docker_cli_images_test.go It is better to add "\n" in printf 2016-08-23 09:01:25 +08:00
docker_cli_import_test.go Fix docker import tests 2016-05-23 15:34:40 -07:00
docker_cli_info_test.go add --format flag to docker info 2016-08-16 04:03:52 +00:00
docker_cli_info_unix_test.go Add security info to docker info 2016-06-14 12:23:45 -07:00
docker_cli_inspect_test.go Remove unnecessary json.Unmarshal wrapper. 2016-08-23 15:11:46 -04:00
docker_cli_kill_test.go Windows CI: Port TestKill* 2016-02-24 13:33:25 -08:00
docker_cli_links_test.go Remove unnecessary json.Unmarshal wrapper. 2016-08-23 15:11:46 -04:00
docker_cli_links_unix_test.go
docker_cli_login_test.go distribution: errors: do not access the errors slice if it's empty 2016-03-16 09:00:39 +01:00
docker_cli_logout_test.go Change v1 pull 404 message to include tag 2016-03-29 10:04:59 -07:00
docker_cli_logs_bench_test.go Fixes some issues with jsonfile write/read 2016-03-21 11:05:58 -04:00
docker_cli_logs_test.go Add support for reading logs extra attrs 2016-05-06 20:42:20 -04:00
docker_cli_nat_test.go
docker_cli_netmode_test.go fix typos 2016-06-02 17:17:22 +08:00
docker_cli_network_unix_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_oom_killed_test.go Add the swapMemorySupport requirement to OOM tests 2016-05-10 11:28:00 -07:00
docker_cli_pause_test.go Get events until a time in the past. 2016-04-14 16:22:16 -07:00
docker_cli_plugins_test.go Add --force to docker plugin remove 2016-08-04 15:55:45 -07:00
docker_cli_port_test.go
docker_cli_proxy_test.go Support TLS remote test daemon 2016-02-25 14:12:17 -05:00
docker_cli_ps_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_pull_local_test.go fixed spelling error in cli pull local test 2016-05-19 17:52:42 -05:00
docker_cli_pull_test.go Move implicit pull test to use local registry 2016-05-02 18:14:13 -07:00
docker_cli_pull_trusted_test.go Pull, Pull-A, and Build will only pull tags from the targets role or the targets/releases role. 2016-03-21 10:56:49 -07:00
docker_cli_push_test.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
docker_cli_registry_user_agent_test.go modify func namt from TestUserAgentPassThroughOnPull to TestUserAgentPassThrough 2016-08-08 11:40:20 +08:00
docker_cli_rename_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_restart_test.go Fix typo 2016-08-09 09:42:23 +08:00
docker_cli_rm_test.go
docker_cli_rmi_test.go update "image delete" error to match actual behavior 2016-07-18 23:17:55 +02:00
docker_cli_run_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_run_unix_test.go Run seccomp tests in series not parallel 2016-08-17 18:48:06 +01:00
docker_cli_save_load_test.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
docker_cli_save_load_unix_test.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
docker_cli_search_test.go Use spf13/cobra for docker search 2016-06-03 19:50:01 +02:00
docker_cli_service_create_test.go Remove hack from test name. 2016-07-28 20:12:36 -04:00
docker_cli_service_health_test.go extend health check to start service 2016-07-25 15:49:22 -07:00
docker_cli_service_update_test.go Remove unnecessary CmdWithArgs 2016-07-28 20:14:14 -04:00
docker_cli_sni_test.go
docker_cli_stack_test.go Remove unnecessary CmdWithArgs 2016-07-28 20:14:14 -04:00
docker_cli_start_test.go Fix docker start error with renamed container 2016-06-18 16:43:30 -07:00
docker_cli_stats_test.go Do not remove containers from stats list on err 2016-04-13 16:36:34 -04:00
docker_cli_stop_test.go Add test case for stopping a restarting container 2016-04-10 15:39:28 +08:00
docker_cli_swarm_test.go Update executor changes from swarmkit 2016-08-22 11:36:20 -07:00
docker_cli_tag_test.go Remove deprecated -f flag on docker tag 2016-06-01 09:44:25 -07:00
docker_cli_top_test.go
docker_cli_update_test.go Forbid update restart policy of container with AutoRemove flag 2016-08-16 15:36:13 +08:00
docker_cli_update_unix_test.go Fix update memory without memoryswap 2016-08-08 18:36:03 +08:00
docker_cli_userns_test.go Ignore 'not a swarm error' when inspecting a task. 2016-08-03 12:22:07 -04:00
docker_cli_v2_only_test.go Login update and endpoint refactor 2016-03-01 11:52:32 -08:00
docker_cli_version_test.go
docker_cli_volume_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_cli_wait_test.go Better logging for errors in some tests 2016-03-25 10:02:52 -04:00
docker_deprecated_api_v124_test.go remove deprecated feature of passing HostConfig at API container start 2016-06-01 22:25:17 +08:00
docker_deprecated_api_v124_unix_test.go remove deprecated feature of passing HostConfig at API container start 2016-06-01 22:25:17 +08:00
docker_experimental_network_test.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
docker_hub_pull_suite_test.go Remove unnecessary CmdWithArgs 2016-07-28 20:14:14 -04:00
docker_test_vars.go It is better to add "\n" in printf 2016-08-23 09:01:25 +08:00
docker_utils.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00
events_utils.go Fix incorrect usage of logrus when formatting string is present 2016-06-11 15:37:36 -07:00
npipe.go Windows CI: Allow npipe protocol for sock requests 2016-03-02 14:22:51 -08:00
npipe_windows.go Windows CI: Allow npipe protocol for sock requests 2016-03-02 14:22:51 -08:00
registry.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
registry_mock.go
requirements.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
requirements_unix.go TestRunSeccompUnconfinedCloneUserns: Check for unprivileged_userns_clone 2016-07-29 12:16:03 -04:00
test_vars_exec.go
test_vars_noexec.go
test_vars_noseccomp.go
test_vars_seccomp.go
test_vars_unix.go
test_vars_windows.go Fixing flaky tests on Windows (again) 2016-03-11 14:48:52 -08:00
trust_server.go add defer file.Close to avoid potential fd leak 2016-08-10 08:36:09 +08:00
utils.go Create a unified RunCommand function with Assert() 2016-08-23 15:11:46 -04:00