浏览代码

Remove unnecessary fmt.Printf

Signed-off-by: Thomas Texier <sharkone@en-mousse.org>
Thomas Texier 10 年之前
父节点
当前提交
2ea1febd9a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      integration-cli/docker_cli_exec_test.go

+ 0 - 1
integration-cli/docker_cli_exec_test.go

@@ -705,7 +705,6 @@ func TestExecWithPrivileged(t *testing.T) {
 
 
 	cmd := exec.Command(dockerBinary, "exec", "parent", "sh", "-c", "mknod /tmp/sda b 8 0")
 	cmd := exec.Command(dockerBinary, "exec", "parent", "sh", "-c", "mknod /tmp/sda b 8 0")
 	out, _, err := runCommandWithOutput(cmd)
 	out, _, err := runCommandWithOutput(cmd)
-	fmt.Printf("%s", out)
 	if err == nil || !strings.Contains(out, "Operation not permitted") {
 	if err == nil || !strings.Contains(out, "Operation not permitted") {
 		t.Fatalf("exec mknod in --cap-drop=ALL container without --privileged should failed")
 		t.Fatalf("exec mknod in --cap-drop=ALL container without --privileged should failed")
 	}
 	}