mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #11006 from ahmetalpbalkan/win-cli/TestCommitChange-fix
integ-cli: fix TestCommitChange for pulled busybox
This commit is contained in:
commit
bedf3f8f20
1 changed files with 2 additions and 1 deletions
|
@ -253,6 +253,7 @@ func TestCommitChange(t *testing.T) {
|
||||||
"--change", "EXPOSE 8080",
|
"--change", "EXPOSE 8080",
|
||||||
"--change", "ENV DEBUG true",
|
"--change", "ENV DEBUG true",
|
||||||
"--change", "ENV test 1",
|
"--change", "ENV test 1",
|
||||||
|
"--change", "ENV PATH /foo",
|
||||||
"test", "test-commit")
|
"test", "test-commit")
|
||||||
imageId, _, err := runCommandWithOutput(cmd)
|
imageId, _, err := runCommandWithOutput(cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -263,7 +264,7 @@ func TestCommitChange(t *testing.T) {
|
||||||
|
|
||||||
expected := map[string]string{
|
expected := map[string]string{
|
||||||
"Config.ExposedPorts": "map[8080/tcp:map[]]",
|
"Config.ExposedPorts": "map[8080/tcp:map[]]",
|
||||||
"Config.Env": "[DEBUG=true test=1]",
|
"Config.Env": "[DEBUG=true test=1 PATH=/foo]",
|
||||||
}
|
}
|
||||||
|
|
||||||
for conf, value := range expected {
|
for conf, value := range expected {
|
||||||
|
|
Loading…
Reference in a new issue