Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17abfc3 commit 4a9fa96Copy full SHA for 4a9fa96
1 file changed
integration-cli/docker_cli_commit_test.go
@@ -214,6 +214,7 @@ func TestCommitChange(t *testing.T) {
214
cmd = exec.Command(dockerBinary, "commit",
215
"--change", "EXPOSE 8080",
216
"--change", "ENV DEBUG true",
217
+ "--change", "ENV test 1",
218
"test", "test-commit")
219
imageId, _, err := runCommandWithOutput(cmd)
220
if err != nil {
@@ -224,7 +225,7 @@ func TestCommitChange(t *testing.T) {
224
225
226
expected := map[string]string{
227
"Config.ExposedPorts": "map[8080/tcp:map[]]",
- "Config.Env": "[DEBUG=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]",
228
+ "Config.Env": "[DEBUG=true test=1]",
229
}
230
231
for conf, value := range expected {
0 commit comments