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

Move expose 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:23:46 +04:00
committed by Alexandr Morozov
parent c58991f31a
commit 81d1641139
2 changed files with 15 additions and 15 deletions

View File

@ -525,6 +525,21 @@ func TestBuildCmd(t *testing.T) {
logDone("build - cmd")
}
func TestBuildExpose(t *testing.T) {
checkSimpleBuild(t,
`
FROM scratch
EXPOSE 4243
`,
"testbuildimg",
"{{json .config.ExposedPorts}}",
`{"4243/tcp":{}}`)
deleteImages("testbuildimg")
logDone("build - expose")
}
// TODO: TestCaching
// TODO: TestADDCacheInvalidation