Merge pull request #32175 from vdemeester/fix-30201

Fix TestTrustedIsolatedCreate – clean trust folder at the end of the test
Upstream-commit: 1f7fd19cec6237f1375531e6c06ebed9e7f9ab67
Component: engine
This commit is contained in:
Vincent Demeester
2017-03-29 09:15:51 +02:00
committed by GitHub
@@ -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)
}