1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #32175 from vdemeester/fix-30201

Fix TestTrustedIsolatedCreate – clean trust folder at the end of the test
This commit is contained in:
Vincent Demeester 2017-03-29 09:15:51 +02:00 committed by GitHub
commit 1f7fd19cec

View file

@ -321,6 +321,7 @@ func (s *DockerTrustSuite) TestTrustedIsolatedCreate(c *check.C) {
// Try create
icmd.RunCmd(icmd.Command(dockerBinary, "--config", "/tmp/docker-isolated-create", "create", repoName), trustedCmd).Assert(c, SuccessTagging)
defer os.RemoveAll("/tmp/docker-isolated-create")
dockerCmd(c, "rmi", repoName)
}