1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

integration-cli: fix wrong test and add log

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-03-24 11:10:41 +01:00
parent b64627b798
commit e73152bf27

View file

@ -47,7 +47,7 @@ func (s *DockerSuite) TestDiffEnsureInitLayerFilesAreIgnored(c *check.C) {
} }
} }
func (s *DockerSuite) TestDiffEnsureOnlyKmsgAndPtmx(c *check.C) { func (s *DockerSuite) TestDiffEnsureDefaultDevs(c *check.C) {
testRequires(c, DaemonIsLinux) testRequires(c, DaemonIsLinux)
out, _ := dockerCmd(c, "run", "-d", "busybox", "sleep", "0") out, _ := dockerCmd(c, "run", "-d", "busybox", "sleep", "0")
@ -75,7 +75,7 @@ func (s *DockerSuite) TestDiffEnsureOnlyKmsgAndPtmx(c *check.C) {
} }
for _, line := range strings.Split(out, "\n") { for _, line := range strings.Split(out, "\n") {
c.Assert(line == "" || expected[line], checker.True) c.Assert(line == "" || expected[line], checker.True, check.Commentf(line))
} }
} }