add more info for debugging

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 5882a9ea171b4cade430da8428beec180d0af952
Component: engine
This commit is contained in:
yuexiao-wang
2016-08-09 17:06:44 +08:00
parent 936c3ba707
commit 1a12027160
@@ -302,7 +302,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
}
if _, ok := result["bar"]; !ok {
c.Fatal("Could not find volume bar set from env foo in volumes table")
c.Fatalf("Could not find volume bar set from env foo in volumes table, got %q", result)
}
deleteImages(name)
@@ -325,7 +325,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
}
if _, ok := result["${FOO}"]; !ok {
c.Fatal("Could not find volume ${FOO} set from env foo in volumes table")
c.Fatalf("Could not find volume ${FOO} set from env foo in volumes table, got %q", result)
}
deleteImages(name)
@@ -352,7 +352,7 @@ func (s *DockerSuite) TestBuildHandleEscapes(c *check.C) {
}
if _, ok := result[`\\\${FOO}`]; !ok {
c.Fatal(`Could not find volume \\\${FOO} set from env foo in volumes table`, result)
c.Fatalf(`Could not find volume \\\${FOO} set from env foo in volumes table, got %q`, result)
}
}