Merge pull request #21465 from runcom/fix-test
integration-cli: fix wrong test and add log
This commit is contained in:
commit
9fbe1d9917
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue