1
0
mirror of https://github.com/moby/moby.git synced 2025-12-07 19:42:23 +03:00

Merge pull request #30185 from vdemeester/integration-build-cmd-cleanup-take2

[test-integration] Clean more build utils
This commit is contained in:
Sebastiaan van Stijn
2017-01-18 15:12:03 +01:00
committed by GitHub
28 changed files with 587 additions and 1194 deletions

View File

@@ -828,17 +828,11 @@ func (s *DockerSuite) TestRunTmpfsMounts(c *check.C) {
func (s *DockerSuite) TestRunTmpfsMountsOverrideImageVolumes(c *check.C) {
name := "img-with-volumes"
_, err := buildImage(
name,
`
buildImageSuccessfully(c, name, withDockerfile(`
FROM busybox
VOLUME /run
RUN touch /run/stuff
`,
true)
if err != nil {
c.Fatal(err)
}
`))
out, _ := dockerCmd(c, "run", "--tmpfs", "/run", name, "ls", "/run")
c.Assert(out, checker.Not(checker.Contains), "stuff")
}