Просмотр исходного кода

Remove unnecessary fmt.Printf

Signed-off-by: Thomas Texier <sharkone@en-mousse.org>
Thomas Texier 10 лет назад
Родитель
Сommit
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")
 	out, _, err := runCommandWithOutput(cmd)
-	fmt.Printf("%s", out)
 	if err == nil || !strings.Contains(out, "Operation not permitted") {
 		t.Fatalf("exec mknod in --cap-drop=ALL container without --privileged should failed")
 	}