Add better output for TestLinksEtcHostsContentMatch to help debug #14774
Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: 6751a49d143e329668e4bbc3214c0bb5e4d02eeb Component: engine
This commit is contained in:
@@ -27,7 +27,7 @@ func (s *DockerSuite) TestLinksEtcHostsContentMatch(c *check.C) {
|
||||
}
|
||||
|
||||
if out != string(hosts) {
|
||||
c.Errorf("container")
|
||||
c.Errorf("container: %s\n\nhost:%s", out, hosts)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user