Cleanup container rm funcs

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: f8628ba89104385071e811d0b21293d7cd2e8e01
Component: engine
This commit is contained in:
Brian Goff
2015-05-26 15:38:52 -04:00
parent 7991258f62
commit 2b42c2c199
3 changed files with 22 additions and 46 deletions
@@ -435,7 +435,6 @@ func (s *DockerSuite) TestCpVolumePath(c *check.C) {
}
cleanedContainerID := strings.TrimSpace(out)
defer dockerCmd(c, "rm", "-fv", cleanedContainerID)
out, _ = dockerCmd(c, "wait", cleanedContainerID)
if strings.TrimSpace(out) != "0" {