mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Fix tests creating zombie processes
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
@@ -49,6 +49,7 @@ import (
|
||||
func (s *DockerDaemonSuite) TestLegacyDaemonCommand(c *check.C) {
|
||||
cmd := exec.Command(dockerBinary, "daemon", "--storage-driver=vfs", "--debug")
|
||||
err := cmd.Start()
|
||||
go cmd.Wait()
|
||||
c.Assert(err, checker.IsNil, check.Commentf("could not start daemon using 'docker daemon'"))
|
||||
|
||||
c.Assert(cmd.Process.Kill(), checker.IsNil)
|
||||
|
||||
Reference in New Issue
Block a user