Migrate exec command to cobra
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp> Upstream-commit: 9d9dff3d0d9e92adf7c2e59f94c63766659d1d47 Component: engine
This commit is contained in:
@ -214,7 +214,7 @@ func (s *DockerSuite) TestExecParseError(c *check.C) {
|
||||
cmd := exec.Command(dockerBinary, "exec", "top")
|
||||
_, stderr, _, err := runCommandWithStdoutStderr(cmd)
|
||||
c.Assert(err, checker.NotNil)
|
||||
c.Assert(stderr, checker.Contains, "See '"+dockerBinary+" exec --help'")
|
||||
c.Assert(stderr, checker.Contains, "See 'docker exec --help'")
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestExecStopNotHanging(c *check.C) {
|
||||
|
||||
Reference in New Issue
Block a user