close pipe after using pipe
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn> Upstream-commit: 256310e962070cabd1383f6f15d8db6a873e2a57 Component: engine
This commit is contained in:
@ -53,6 +53,7 @@ func (s *DockerSuite) TestAttachMultipleAndRestart(c *check.C) {
|
||||
if err != nil {
|
||||
c.Fatal(err)
|
||||
}
|
||||
defer out.Close()
|
||||
|
||||
if err := cmd.Start(); err != nil {
|
||||
c.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user