Implement teardown removeAllImages
Signed-off-by: Alexander Morozov <lk4d4@docker.com> Upstream-commit: a9688cdca5577d6db65d76f38bcbe4c1e6f5994f Component: engine
This commit is contained in:
@ -27,7 +27,6 @@ func (s *DockerSuite) TestImportDisplay(c *check.C) {
|
||||
c.Fatalf("display is messed up: %d '\\n' instead of 1:\n%s", n, out)
|
||||
}
|
||||
image := strings.TrimSpace(out)
|
||||
defer deleteImages(image)
|
||||
|
||||
runCmd = exec.Command(dockerBinary, "run", "--rm", image, "true")
|
||||
out, _, err = runCommandWithOutput(runCmd)
|
||||
|
||||
Reference in New Issue
Block a user