From 1a120271606404183a94ca97b1ae1c6e7c1ffdc4 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Tue, 9 Aug 2016 10:44:51 +0800 Subject: [PATCH] add more info for debugging Signed-off-by: yuexiao-wang Upstream-commit: 5882a9ea171b4cade430da8428beec180d0af952 Component: engine --- components/engine/integration-cli/docker_cli_build_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/engine/integration-cli/docker_cli_build_test.go b/components/engine/integration-cli/docker_cli_build_test.go index ffa10fe390..a115a7d672 100644 --- a/components/engine/integration-cli/docker_cli_build_test.go +++ b/components/engine/integration-cli/docker_cli_build_test.go @@ -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) } }