1
0
mirror of https://github.com/moby/moby.git synced 2025-07-30 18:23:29 +03:00

Move cmd build test to integration-cli

Docker-DCO-1.1-Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com> (github: LK4D4)
This commit is contained in:
LK4D4
2014-05-26 23:15:40 +04:00
committed by Alexandr Morozov
parent b05be686ec
commit c58991f31a
2 changed files with 14 additions and 20 deletions

View File

@ -511,6 +511,20 @@ func TestBuildEnv(t *testing.T) {
logDone("build - env")
}
func TestBuildCmd(t *testing.T) {
checkSimpleBuild(t,
`
FROM scratch
CMD ["/bin/echo", "Hello World"]
`,
"testbuildimg",
"{{json .config.Cmd}}",
`["/bin/echo","Hello World"]`)
deleteImages("testbuildimg")
logDone("build - cmd")
}
// TODO: TestCaching
// TODO: TestADDCacheInvalidation