moby/integration-cli
Doug Davis 08b7f30fcd Fix issue where build steps are duplicated in the output
This fixes an issue where the build output for the "Steps" would look like:
```
Step 1: RUN echo hi echo hi
```
instead of
```
Step 1: RUN echo hi
```

Also, I noticed that there were no checks to make sure invalid Dockerfile
cmd flags were caught on cmds that didn't use cmd flags at all. They would
have been caught on the cmds that had flags, but cmds that didn't bother
to add a new code for flags would have just ignored them.  So, I added
checks to each cmd to flag it.

Added testcases for issues.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-05-05 15:28:42 -07:00
..
fixtures/https Move https integration tests as unit tests under client 2015-04-23 15:40:46 +00:00
check_test.go Implement daemon suite for integration-cli 2015-04-27 15:48:29 -07:00
docker_api_attach_test.go Remove c.Fatal from goroutine in TestGetContainersAttachWebsocket 2015-04-27 13:56:55 +02:00
docker_api_containers_test.go Add tests for API container delete 2015-05-04 22:41:57 +02:00
docker_api_exec_resize_test.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
docker_api_exec_test.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
docker_api_images_test.go Merge pull request #12939 from draghuram/history_test 2015-05-04 12:58:43 -04:00
docker_api_info_test.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
docker_api_inspect_test.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
docker_api_logs_test.go Expose whole Response struct in sockRequestRaw 2015-04-27 18:49:00 +02:00
docker_api_resize_test.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
docker_api_test.go Remove integration tests and port them to integration-cli 2015-04-30 01:35:16 +02:00
docker_api_version_test.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
docker_cli_attach_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_attach_unix_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_build_test.go Fix issue where build steps are duplicated in the output 2015-05-05 15:28:42 -07:00
docker_cli_by_digest_test.go Implement DockerRegistrySuite in integration-cli 2015-04-24 14:17:00 -07:00
docker_cli_commit_test.go trivial: typo cleanup 2015-04-27 13:35:08 -07:00
docker_cli_config_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_cp_test.go delete "defer deleteContainer" on tests 2015-04-23 22:27:46 +02:00
docker_cli_create_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_daemon_test.go Merge pull request #12771 from runcom/say-bye-to-engine 2015-04-30 12:18:16 -04:00
docker_cli_diff_test.go fixed TestDiffEnsureDockerinitFilesAreIgnored is too long #12672 2015-04-27 13:24:15 -07:00
docker_cli_events_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_events_unix_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_exec_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_exec_unix_test.go reuse same code for setting pipes in run/exec 2015-04-23 21:54:21 +00:00
docker_cli_export_import_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_help_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_history_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_images_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_import_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_info_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_inspect_test.go Allow go template to work properly with inspect 2015-04-23 18:25:18 +00:00
docker_cli_kill_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_links_test.go A fix for = in env values in linked containers 2015-04-25 04:42:43 -07:00
docker_cli_login_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_logs_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_nat_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_pause_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_port_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_proxy_test.go Implement daemon suite for integration-cli 2015-04-27 15:48:29 -07:00
docker_cli_ps_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_pull_test.go Implement DockerRegistrySuite in integration-cli 2015-04-24 14:17:00 -07:00
docker_cli_push_test.go Finally remove our copy of "archive/tar" now that Go 1.4 is the minimum! 2015-05-01 16:01:10 -06:00
docker_cli_rename_test.go Fix TestRenameStoppedContainer race 2015-04-23 16:11:46 +02:00
docker_cli_restart_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_rm_test.go Add tests for API container delete 2015-05-04 22:41:57 +02:00
docker_cli_rmi_test.go trivial: typo cleanup 2015-04-27 13:35:08 -07:00
docker_cli_run_test.go Make /etc/hosts, /etc/resolv.conf, /etc/hostname read only if --read-only is enable 2015-05-04 21:30:52 +02:00
docker_cli_run_unix_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_save_load_test.go trivial: typo cleanup 2015-04-27 13:35:08 -07:00
docker_cli_save_load_unix_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_search_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_start_test.go c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel 2015-04-29 17:02:22 +02:00
docker_cli_stats_test.go Allow pulling stats once and disconnecting. 2015-05-04 10:49:13 -04:00
docker_cli_tag_test.go Implement teardown removeAllImages 2015-04-24 10:37:21 -07:00
docker_cli_top_test.go delete "defer deleteContainer" on tests 2015-04-23 22:27:46 +02:00
docker_cli_version_test.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
docker_cli_wait_test.go remove some uneeded sleeps in tests 2015-04-27 10:14:29 -04:00
docker_test_vars.go Revert all but TestPullImageFromCentralRegistry changes 2015-03-24 16:27:35 -07:00
docker_test_vars_cli.go integration-cli: add mechanism to skip tests 2015-02-17 00:43:41 -08:00
docker_test_vars_daemon.go integration-cli: add mechanism to skip tests 2015-02-17 00:43:41 -08:00
docker_utils.go Integration Tests for --icc=false & container Linking using --expose 2015-04-29 10:16:31 -07:00
registry.go Use suite for integration-cli 2015-04-21 10:28:52 -07:00
requirements.go Fixing statusCode checks for sockRequest 2015-04-23 15:35:56 -07:00
test_vars_exec.go integration-cli: add test requirement ExecSupport 2015-02-20 23:24:30 -08:00
test_vars_noexec.go integration-cli: add test requirement ExecSupport 2015-02-20 23:24:30 -08:00
test_vars_unix.go pkg/archive: adjust chmod bits on windows 2015-03-04 14:10:37 -08:00
test_vars_windows.go Change windows default permissions to 755 not 711, read access for all poses little security risk and prevents breaking existing Dockerfiles 2015-03-20 21:54:33 -07:00
utils.go Finally remove our copy of "archive/tar" now that Go 1.4 is the minimum! 2015-05-01 16:01:10 -06:00