Implement teardown removeAllImages

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: a9688cdca5577d6db65d76f38bcbe4c1e6f5994f
Component: engine
This commit is contained in:
Alexander Morozov
2015-04-23 14:39:31 -07:00
parent 4b91c36f40
commit c48fdf0abd
20 changed files with 50 additions and 269 deletions

View File

@ -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)