Minor fix to the exec inspect test
Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
parent
6e64e0548f
commit
899c85b405
1 changed files with 1 additions and 2 deletions
|
@ -427,7 +427,7 @@ func (s *DockerSuite) TestInspectExecID(c *check.C) {
|
|||
c.Fatalf("ExecIDs should be empty, got: %s", out)
|
||||
}
|
||||
|
||||
exitCode, err = runCommand(exec.Command(dockerBinary, "exec", "-d", id, "ls", "/"))
|
||||
exitCode, err = runCommand(exec.Command(dockerBinary, "exec", "-d", id, "top"))
|
||||
if exitCode != 0 || err != nil {
|
||||
c.Fatalf("failed to exec in container: %s, %v", out, err)
|
||||
}
|
||||
|
@ -441,7 +441,6 @@ func (s *DockerSuite) TestInspectExecID(c *check.C) {
|
|||
if out == "[]" || out == "<no value>" {
|
||||
c.Fatalf("ExecIDs should not be empty, got: %s", out)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestLinksPingLinkedContainersOnRename(c *check.C) {
|
||||
|
|
Loading…
Reference in a new issue