Skip to content

Commit e73152b

Browse files
committed
integration-cli: fix wrong test and add log
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
1 parent b64627b commit e73152b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration-cli/docker_cli_diff_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (s *DockerSuite) TestDiffEnsureInitLayerFilesAreIgnored(c *check.C) {
4747
}
4848
}
4949

50-
func (s *DockerSuite) TestDiffEnsureOnlyKmsgAndPtmx(c *check.C) {
50+
func (s *DockerSuite) TestDiffEnsureDefaultDevs(c *check.C) {
5151
testRequires(c, DaemonIsLinux)
5252
out, _ := dockerCmd(c, "run", "-d", "busybox", "sleep", "0")
5353

@@ -75,7 +75,7 @@ func (s *DockerSuite) TestDiffEnsureOnlyKmsgAndPtmx(c *check.C) {
7575
}
7676

7777
for _, line := range strings.Split(out, "\n") {
78-
c.Assert(line == "" || expected[line], checker.True)
78+
c.Assert(line == "" || expected[line], checker.True, check.Commentf(line))
7979
}
8080
}
8181

0 commit comments

Comments
 (0)