1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00

* Builder: added a regression test for #895

Upstream-commit: f50e40008f39c77cab2b516ac2102f875bdef215
Component: engine
This commit is contained in:
Solomon Hykes
2013-06-15 11:35:56 -07:00
parent 89a21cc6a6
commit 39f9189f02

View File

@@ -66,6 +66,16 @@ run mkdir -p /var/run/sshd`,
{[]string{"ls", "-d", "/var/run/sshd"}, "/var/run/sshd\n"},
},
},
{
`
from docker-ut
add foo /usr/lib/bla/bar`,
[][2]string{{"foo", "hello world!"}},
[]testCommand{
{[]string{"cat", "/usr/lib/bla/bar"}, "hello world!"},
},
},
}
func TestBuild(t *testing.T) {