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
Ahmet Alp Balkan df5334183f integration-cli: generate unix-style volume paths
Some tests in `docker_api_containers_test.go` assume the
docker daemon is running at the same machine as the cli
and uses `ioutil.TempDir` to create temp dirs and use them
in the test.

On windows ioutil.TempDir and os.TempDir would create win-style
paths and pass them to daemon. Instead, I hardcoded `/tmp/` and
generate some random path manually and allow daemon to create
the directory.

Fixes tests:
- TestContainerApiStartVolumeBinds
- TestContainerApiStartDupVolumeBinds
- TestVolumesFromHasPriority

Downside:
- Does not clean the temp dirs generated on the remote daemon
  machine unless delete container deletes them.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-02-17 01:29:23 -08:00
..
docker_api_attach_test.go Adds test for api attach via websocket 2015-01-21 18:35:51 -08:00
docker_api_containers_test.go integration-cli: generate unix-style volume paths 2015-02-17 01:29:23 -08:00
docker_api_exec_test.go Add build flag to exec test. 2015-01-23 16:18:39 -08:00
docker_api_inspect_test.go Check for no Cmd on exec create endpoint 2014-12-01 17:54:15 -05:00
docker_api_resize_test.go Check for no Cmd on exec create endpoint 2014-12-01 17:54:15 -05:00
docker_cli_attach_test.go Fix vet errors about formatting directives 2014-12-12 10:58:56 -08:00
docker_cli_attach_unix_test.go integration-cli: wait for container before sending ^D 2015-01-22 17:28:35 -05:00
docker_cli_build_test.go TestBuildAddTarXz: xz with '-k' due to msys bug 2015-02-12 15:42:27 -08:00
docker_cli_commit_test.go Make sure integration-cli test clean up 2014-11-19 23:41:46 +02:00
docker_cli_cp_test.go Run 'go vet' on integration-cli. 2014-12-03 18:45:51 -08:00
docker_cli_create_test.go add ability to publish range of ports 2015-01-02 23:21:26 +00:00
docker_cli_daemon_test.go Defer creation of trust key file until needed 2015-01-29 13:46:12 -08:00
docker_cli_diff_test.go Fixes symlink, container size, and kmsg tests 2015-01-30 09:30:42 +00:00
docker_cli_events_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_events_unix_test.go Fix filenames for unix only integration-cli tests 2015-01-14 00:31:25 +02:00
docker_cli_exec_test.go Move one last exec test :) 2015-01-26 17:17:08 -08:00
docker_cli_export_import_test.go Cleanup errorOut resp in export test 2014-10-16 15:05:00 -07:00
docker_cli_help_test.go Make checking of help text smarter 2015-02-06 13:02:58 -08:00
docker_cli_history_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_images_test.go Fix for #8777 2014-11-20 13:36:46 +09:00
docker_cli_import_test.go Make sure integration-cli test clean up 2014-11-19 23:41:46 +02:00
docker_cli_info_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_inspect_test.go Move InspectExecID test to exec. 2015-01-23 16:18:39 -08:00
docker_cli_kill_test.go Cleanup errorOut resp in kill test 2014-10-16 15:05:00 -07:00
docker_cli_links_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_login_test.go Make .dockercfg with json.MarshallIndent 2015-01-17 07:05:56 -05:00
docker_cli_logs_test.go Fix panic on slow log consumer. 2014-10-30 22:24:57 +02:00
docker_cli_nat_test.go Fix misuses of format based logging functions 2014-11-19 23:59:02 +02:00
docker_cli_port_test.go Cleanup errorOut resp in port test 2014-10-16 15:05:00 -07:00
docker_cli_proxy_test.go Do not use HTTP_PROXY for unix sock 2015-02-12 11:38:52 -05:00
docker_cli_ps_test.go Test for links names in ps --no-trunc 2015-02-06 14:05:08 -08:00
docker_cli_pull_test.go Update verification message logic 2015-02-05 17:46:55 -08:00
docker_cli_push_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_rename_test.go Renaming a container with an invalid name should fail 2015-01-14 12:54:23 -08:00
docker_cli_restart_test.go integration-cli: Fix race in restart loop 2015-01-22 14:06:24 -05:00
docker_cli_rm_test.go Fix format calls as suggested by vet 2015-01-14 14:12:03 -08:00
docker_cli_rmi_test.go Remove unnecessary abstraction nLines 2014-12-03 17:47:28 -08:00
docker_cli_run_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_run_unix_test.go Fix filenames for unix only integration-cli tests 2015-01-14 00:31:25 +02:00
docker_cli_save_load_test.go Enable test-integration-cli for Windows platform 2014-12-20 16:40:40 -08:00
docker_cli_save_load_unix_test.go Fix filenames for unix only integration-cli tests 2015-01-14 00:31:25 +02:00
docker_cli_search_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_start_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_tag_test.go Remove word "fail" from tests 2015-02-09 18:01:52 -05:00
docker_cli_top_test.go Cleanup errorOut resp in top tests 2014-10-16 15:06:20 -07:00
docker_cli_version_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_test_vars.go Fix a few minor issues with building/running inside msysGit 2015-01-09 17:28:40 -07:00
docker_utils.go Add an API test for docker build -f Dockerfile 2015-02-02 23:40:20 -08:00
MAINTAINERS
registry.go Fix some go vet errors 2015-02-02 14:53:20 -08:00
utils.go integration-cli: generate unix-style volume paths 2015-02-17 01:29:23 -08:00