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

Revendor hcsshim

Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
Darren Stahl
2016-05-31 12:51:29 -07:00
parent 0b5e84cc8d
commit d96e36cbbf
7 changed files with 168 additions and 114 deletions

View File

@ -6740,3 +6740,18 @@ func (s *DockerSuite) TestBuildLabelsOverride(c *check.C) {
}
}
// Test case for #22855
func (s *DockerSuite) TestBuildDeleteCommittedFile(c *check.C) {
name := "test-delete-committed-file"
_, err := buildImage(name,
`FROM busybox
RUN echo test > file
RUN test -e file
RUN rm file
RUN sh -c "! test -e file"`, false)
if err != nil {
c.Fatal(err)
}
}