зеркало из https://github.com/microsoft/docker.git
Merge pull request #16507 from azurezk/testcase_nit
TestInspectInt64 to be neat
This commit is contained in:
Коммит
ccba7c3e14
|
@ -27,8 +27,7 @@ func (s *DockerSuite) TestInspectImage(c *check.C) {
|
||||||
|
|
||||||
func (s *DockerSuite) TestInspectInt64(c *check.C) {
|
func (s *DockerSuite) TestInspectInt64(c *check.C) {
|
||||||
testRequires(c, DaemonIsLinux)
|
testRequires(c, DaemonIsLinux)
|
||||||
runCmd := exec.Command(dockerBinary, "run", "-d", "-m=300M", "busybox", "true")
|
out, _, err := dockerCmdWithError("run", "-d", "-m=300M", "busybox", "true")
|
||||||
out, _, _, err := runCommandWithStdoutStderr(runCmd)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.Fatalf("failed to run container: %v, output: %q", err, out)
|
c.Fatalf("failed to run container: %v, output: %q", err, out)
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче