test neat

Signed-off-by: Kun Zhang <zkazure@gmail.com>
This commit is contained in:
Kun Zhang 2015-09-23 11:52:17 +08:00
parent 22877e1b16
commit 029c6eacd6
1 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,7 @@ func (s *DockerSuite) TestInspectImage(c *check.C) {
func (s *DockerSuite) TestInspectInt64(c *check.C) {
testRequires(c, DaemonIsLinux)
runCmd := exec.Command(dockerBinary, "run", "-d", "-m=300M", "busybox", "true")
out, _, _, err := runCommandWithStdoutStderr(runCmd)
out, _, err := dockerCmdWithError("run", "-d", "-m=300M", "busybox", "true")
if err != nil {
c.Fatalf("failed to run container: %v, output: %q", err, out)
}