From 4a9fa9650b154e70d55f750c3674c2d6dd390bef Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Mon, 12 Jan 2015 14:52:44 -0500 Subject: [PATCH] I am only seeing the values I set Docker-DCO-1.1-Signed-off-by: Dan Walsh (github: rhatdan) --- integration-cli/docker_cli_commit_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_commit_test.go b/integration-cli/docker_cli_commit_test.go index b8bc7bdfc..8ee26e072 100644 --- a/integration-cli/docker_cli_commit_test.go +++ b/integration-cli/docker_cli_commit_test.go @@ -214,6 +214,7 @@ func TestCommitChange(t *testing.T) { cmd = exec.Command(dockerBinary, "commit", "--change", "EXPOSE 8080", "--change", "ENV DEBUG true", + "--change", "ENV test 1", "test", "test-commit") imageId, _, err := runCommandWithOutput(cmd) if err != nil { @@ -224,7 +225,7 @@ func TestCommitChange(t *testing.T) { expected := map[string]string{ "Config.ExposedPorts": "map[8080/tcp:map[]]", - "Config.Env": "[DEBUG=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]", + "Config.Env": "[DEBUG=true test=1]", } for conf, value := range expected {