Merge pull request #21465 from runcom/fix-test

integration-cli: fix wrong test and add log
This commit is contained in:
Vincent Demeester 2016-03-25 10:22:01 +01:00
commit 9fbe1d9917

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)
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") {
c.Assert(line == "" || expected[line], checker.True)
c.Assert(line == "" || expected[line], checker.True, check.Commentf(line))
}
}