Browse Source

integration-cli: fix wrong test and add log

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Antonio Murdaca 9 years ago
parent
commit
e73152bf27
1 changed files with 2 additions and 2 deletions
  1. 2 2
      integration-cli/docker_cli_diff_test.go

+ 2 - 2
integration-cli/docker_cli_diff_test.go

@@ -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))
 	}
 }